Root/scripts/Makefile

Source at commit 36e73c4abb520aa65722ef5e1483bcb8b75bf9f4 created 13 years 6 months ago.
By Werner Almesberger, Moved tools/ out of atrf, in preparation of merge with atusd.
1SHELL = /bin/bash
2
3CACHE_DIRS = {ppm0,ppm1,ppm2,ps}
4DEST = werner@host:/home/httpd/almesberger/misc/ben/
5RSYNC = eval rsync -a --progress "--exclude "$(CACHE_DIRS)/
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/* $(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/* $(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/* $(DEST)/demo3/
46

Archive Download this file



interactive