Root/scripts/Makefile

Source at commit 56a95040ca2fe2a265bd27fce365515f7656383e created 9 years 3 months ago.
By Werner Almesberger, Generate commit entry and show diffs also for the first commit. Plus cleanup.
1SHELL = /bin/bash
2
3.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
4.PHONY: xue-schhist xue-schhist-upload
5.PHONY: cntr-schhist cntr-schhist-upload
6
7# All the targets are for demo purposes pnly !
8
9all:
10        @echo "possible targets:" 2>&1
11        @echo " ben-wpan-schhist ben-wpan-schhist-upload" 2>&1
12        @echo " xue-schhist xue-schhist-upload" 2>&1
13        @echo " cntr-schhist cntr-schhist-upload" 2>&1
14        @exit 1
15
16ben-wpan-schhist:
17    SCHHIST_TITLE=ben-wpan/atrf \
18      SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/ben-wpan/ \
19      SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/ben-wpan/source/commit/{}/' \
20      ./schhist2web atrf/wpan-atrf.sch
21
22ben-wpan-schhist-upload:
23     rsync -a --progress _out/{index.html,unchanged.png,thum*,diff*} \
24       werner@host:/home/httpd/almesberger/misc/ben/demo/
25
26xue-schhist:
27    SCHHIST_TITLE=Xue \
28      SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/xue/ \
29      SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/xue/source/commit/{}/' \
30      ./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
31
32xue-schhist-upload:
33     rsync -a --progress _xue/{index.html,unchanged.png,thum*,diff*} \
34       werner@host:/home/httpd/almesberger/misc/ben/demo2/
35
36cntr-schhist:
37    SCHHIST_TITLE=ben-wpan/cntr \
38      SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/ben-wpan/ \
39      SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/ben-wpan/source/commit/{}/' \
40      ./schhist2web cntr/cntr.sch _cntr
41
42cntr-schhist-upload:
43     rsync -a --progress _cntr/{index.html,unchanged.png,thum*,diff*} \
44       werner@host:/home/httpd/almesberger/misc/ben/demo3/
45

Archive Download this file



interactive