2010-08-28 01:32:52 +03:00
|
|
|
SHELL = /bin/bash
|
|
|
|
|
2010-08-30 09:14:07 +03:00
|
|
|
UPLOAD = {index.html,unchanged.png,thumb_*,diff_*,pdf_*}
|
2010-08-29 20:38:20 +03:00
|
|
|
DEST = werner@host:/home/httpd/almesberger/misc/ben/
|
|
|
|
RSYNC = rsync -a --progress
|
|
|
|
|
2010-08-29 07:44:25 +03:00
|
|
|
.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
|
|
|
|
.PHONY: xue-schhist xue-schhist-upload
|
|
|
|
.PHONY: cntr-schhist cntr-schhist-upload
|
2010-08-28 01:32:52 +03:00
|
|
|
|
|
|
|
# All the targets are for demo purposes pnly !
|
2010-08-27 21:39:39 +03:00
|
|
|
|
|
|
|
all:
|
2010-08-28 01:32:52 +03:00
|
|
|
@echo "possible targets:" 2>&1
|
|
|
|
@echo " ben-wpan-schhist ben-wpan-schhist-upload" 2>&1
|
|
|
|
@echo " xue-schhist xue-schhist-upload" 2>&1
|
2010-08-29 07:44:25 +03:00
|
|
|
@echo " cntr-schhist cntr-schhist-upload" 2>&1
|
2010-08-28 01:32:52 +03:00
|
|
|
@exit 1
|
2010-08-27 21:39:39 +03:00
|
|
|
|
|
|
|
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
|
2010-08-28 01:32:52 +03:00
|
|
|
|
|
|
|
ben-wpan-schhist-upload:
|
2010-08-29 20:38:20 +03:00
|
|
|
$(RSYNC) _out/$(UPLOAD) $(DEST)/demo/
|
2010-08-28 01:32:52 +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/{}/' \
|
2010-08-28 02:42:40 +03:00
|
|
|
./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
|
2010-08-28 01:32:52 +03:00
|
|
|
|
|
|
|
xue-schhist-upload:
|
2010-08-29 20:38:20 +03:00
|
|
|
$(RSYNC) _xue/$(UPLOAD) $(DEST)/demo2/
|
2010-08-29 07:44:25 +03:00
|
|
|
|
|
|
|
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:
|
2010-08-29 20:38:20 +03:00
|
|
|
$(RSYNC) _cntr/$(UPLOAD) $(DEST)/demo3/
|