1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 14:45:20 +02:00
ben-wpan/scripts/Makefile
Werner Almesberger 56a95040ca Generate commit entry and show diffs also for the first commit. Plus cleanup.
- scripts/Makefile: added targets for ben-wpan/cntr
- scripts/schhist2web: removed stray and redundant mkdir of output
  directories
- scripts/schhist2web: added section titles
- scripts/schhist2web: <TR> tag was issued twice per commit
- scripts/schhist2web (commit_entry): moved commit entry generation to a
  separate function
- scripts/schhist2web (commit_entry): replaced "git log $next~1..$next"
  with more robust "git show --quiet $next"
- scripts/schhist2web: generate file creation entries for all files in the
  first commit
2010-08-29 01:44:25 -03:00

45 lines
1.6 KiB
Makefile

SHELL = /bin/bash
.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
.PHONY: xue-schhist xue-schhist-upload
.PHONY: cntr-schhist cntr-schhist-upload
# All the targets are for demo purposes pnly !
all:
@echo "possible targets:" 2>&1
@echo " ben-wpan-schhist ben-wpan-schhist-upload" 2>&1
@echo " xue-schhist xue-schhist-upload" 2>&1
@echo " cntr-schhist cntr-schhist-upload" 2>&1
@exit 1
ben-wpan-schhist:
SCHHIST_TITLE=ben-wpan/atrf \
SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/ben-wpan/ \
SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/ben-wpan/source/commit/{}/' \
./schhist2web atrf/wpan-atrf.sch
ben-wpan-schhist-upload:
rsync -a --progress _out/{index.html,unchanged.png,thum*,diff*} \
werner@host:/home/httpd/almesberger/misc/ben/demo/
xue-schhist:
SCHHIST_TITLE=Xue \
SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/xue/ \
SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/xue/source/commit/{}/' \
./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
xue-schhist-upload:
rsync -a --progress _xue/{index.html,unchanged.png,thum*,diff*} \
werner@host:/home/httpd/almesberger/misc/ben/demo2/
cntr-schhist:
SCHHIST_TITLE=ben-wpan/cntr \
SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/ben-wpan/ \
SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/ben-wpan/source/commit/{}/' \
./schhist2web cntr/cntr.sch _cntr
cntr-schhist-upload:
rsync -a --progress _cntr/{index.html,unchanged.png,thum*,diff*} \
werner@host:/home/httpd/almesberger/misc/ben/demo3/