2010-09-07 23:03:19 +03:00
|
|
|
SHELL = /bin/bash
|
|
|
|
|
|
|
|
CACHE_DIRS = {ppm0,ppm1,ppm2,ps}
|
|
|
|
DEST = werner@host:/home/httpd/almesberger/misc/ben/
|
|
|
|
RSYNC = eval rsync -a --progress "--exclude "$(CACHE_DIRS)/
|
|
|
|
|
|
|
|
.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
|
|
|
|
.PHONY: xue-schhist xue-schhist-upload
|
|
|
|
.PHONY: cntr-schhist cntr-schhist-upload
|
2010-09-08 00:25:55 +03:00
|
|
|
.PHONY: atusd-schhist atusd-schhist-upload
|
2010-09-07 23:03:19 +03:00
|
|
|
|
|
|
|
# All the targets are for demo purposes pnly !
|
|
|
|
|
|
|
|
all:
|
|
|
|
@echo "possible targets:" 2>&1
|
2010-09-08 00:25:55 +03:00
|
|
|
@echo " atusb-schhist atusb-schhist-upload" 2>&1
|
2010-09-07 23:03:19 +03:00
|
|
|
@echo " xue-schhist xue-schhist-upload" 2>&1
|
|
|
|
@echo " cntr-schhist cntr-schhist-upload" 2>&1
|
2010-09-08 00:25:55 +03:00
|
|
|
@echo " atusd-schhist atusd-schhist-upload" 2>&1
|
2010-09-07 23:03:19 +03:00
|
|
|
@exit 1
|
|
|
|
|
2010-09-08 00:25:55 +03:00
|
|
|
atusb-schhist:
|
2010-09-07 23:03:19 +03:00
|
|
|
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/{}/' \
|
2010-09-08 00:25:55 +03:00
|
|
|
./schhist2web ../../ben-wpan atrf/wpan-atrf.sch _atusb
|
2010-09-07 23:03:19 +03:00
|
|
|
|
2010-09-08 00:25:55 +03:00
|
|
|
atusb-schhist-upload:
|
|
|
|
$(RSYNC) _atusb/* $(DEST)/demo/
|
2010-09-07 23:03:19 +03:00
|
|
|
|
|
|
|
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) _xue/* $(DEST)/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/{}/' \
|
2010-09-08 00:25:55 +03:00
|
|
|
./schhist2web ../../ben-wpan cntr/cntr.sch _cntr
|
2010-09-07 23:03:19 +03:00
|
|
|
|
|
|
|
cntr-schhist-upload:
|
|
|
|
$(RSYNC) _cntr/* $(DEST)/demo3/
|
2010-09-08 00:25:55 +03:00
|
|
|
|
|
|
|
atusd-schhist:
|
|
|
|
SCHHIST_TITLE=ben-wpan/atusd
|
|
|
|
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 ../../ben-wpan atusd/atusd.sch _atusd
|
|
|
|
|
|
|
|
atusd-schhist-upload:
|
|
|
|
$(RSYNC) _atusd/* $(DEST)/demo4/
|