Root/scripts/Makefile

Source at commit 66cf6a296ec30f5bbda7ebe1eb59c2041c656a87 created 10 years 24 days ago.
By Werner Almesberger, We now generate and link delta PDFs with the state(s) of the sheet.
1SHELL = /bin/bash
2
3UPLOAD = {index.html,unchanged.png,thumb_*,diff_*,pdf_*,html_*}
4DEST = werner@host:/home/httpd/almesberger/misc/ben/
5RSYNC = rsync -a --progress
6
7.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
8.PHONY: xue-schhist xue-schhist-upload
9.PHONY: cntr-schhist cntr-schhist-upload
10
11# All the targets are for demo purposes pnly !
12
13all:
14        @echo "possible targets:" 2>&1
15        @echo " ben-wpan-schhist ben-wpan-schhist-upload" 2>&1
16        @echo " xue-schhist xue-schhist-upload" 2>&1
17        @echo " cntr-schhist cntr-schhist-upload" 2>&1
18        @exit 1
19
20ben-wpan-schhist:
21    SCHHIST_TITLE=ben-wpan/atrf \
22      SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/ben-wpan/ \
23      SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/ben-wpan/source/commit/{}/' \
24      ./schhist2web atrf/wpan-atrf.sch
25
26ben-wpan-schhist-upload:
27     $(RSYNC) _out/$(UPLOAD) $(DEST)/demo/
28
29xue-schhist:
30    SCHHIST_TITLE=Xue \
31      SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/xue/ \
32      SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/xue/source/commit/{}/' \
33      ./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
34
35xue-schhist-upload:
36     $(RSYNC) _xue/$(UPLOAD) $(DEST)/demo2/
37
38cntr-schhist:
39    SCHHIST_TITLE=ben-wpan/cntr \
40      SCHHIST_HOME_URL=http://projects.qi-hardware.com/index.php/p/ben-wpan/ \
41      SCHHIST_COMMIT_TEMPLATE='http://projects.qi-hardware.com/index.php/p/ben-wpan/source/commit/{}/' \
42      ./schhist2web cntr/cntr.sch _cntr
43
44cntr-schhist-upload:
45    $(RSYNC) _cntr/$(UPLOAD) $(DEST)/demo3/
46

Archive Download this file



interactive