mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
Allow schhist2web and friends to run from a directory outside the working tree.
- scripts/gitenealogy: now requires the repository directory to be passed - scripts/schhist2web: adapted for above change - scripts/schhist2web: change to the repository's directory before each call to git - scripts/Makefile: added demo upload and Xue build - scripts/Makefile (all): added usage information
This commit is contained in:
@@ -1,9 +1,31 @@
|
||||
.PHONY: all ben-wpan-schhist
|
||||
SHELL = /bin/bash
|
||||
|
||||
.PHONY: all ben-wpan-schhist xue-schhist
|
||||
|
||||
# All the targets are for demo purposes pnly !
|
||||
|
||||
all:
|
||||
@echo "possible targets:" 2>&1
|
||||
@echo " ben-wpan-schhist ben-wpan-schhist-upload" 2>&1
|
||||
@echo " xue-schhist xue-schhist-upload" 2>&1
|
||||
@exit 1
|
||||
|
||||
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
|
||||
|
||||
ben-wpan-schhist-upload:
|
||||
rsync -a --progress _out/{index.html,unchanged.png,thum*,diff*} \
|
||||
werner@host:/home/httpd/almesberger/misc/ben/demo/
|
||||
|
||||
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 ../../xue kicad/xue-rnc/xue-rnc.sch _xue
|
||||
|
||||
xue-schhist-upload:
|
||||
rsync -a --progress _xue/{index.html,unchanged.png,thum*,diff*} \
|
||||
werner@host:/home/httpd/almesberger/misc/ben/demo2/
|
||||
|
||||
Reference in New Issue
Block a user