mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-01-09 23:20:14 +02:00
scripts/: minor Makefile cleanup.
- scripts/Makefile: moved redundant parts of rsync commands into variables shared among targets
This commit is contained in:
parent
cfbdd45323
commit
081aed3a12
@ -1,5 +1,9 @@
|
|||||||
SHELL = /bin/bash
|
SHELL = /bin/bash
|
||||||
|
|
||||||
|
UPLOAD = {index.html,unchanged.png,thum*,diff*}
|
||||||
|
DEST = werner@host:/home/httpd/almesberger/misc/ben/
|
||||||
|
RSYNC = rsync -a --progress
|
||||||
|
|
||||||
.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
|
.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
|
||||||
.PHONY: xue-schhist xue-schhist-upload
|
.PHONY: xue-schhist xue-schhist-upload
|
||||||
.PHONY: cntr-schhist cntr-schhist-upload
|
.PHONY: cntr-schhist cntr-schhist-upload
|
||||||
@ -20,8 +24,7 @@ ben-wpan-schhist:
|
|||||||
./schhist2web atrf/wpan-atrf.sch
|
./schhist2web atrf/wpan-atrf.sch
|
||||||
|
|
||||||
ben-wpan-schhist-upload:
|
ben-wpan-schhist-upload:
|
||||||
rsync -a --progress _out/{index.html,unchanged.png,thum*,diff*} \
|
$(RSYNC) _out/$(UPLOAD) $(DEST)/demo/
|
||||||
werner@host:/home/httpd/almesberger/misc/ben/demo/
|
|
||||||
|
|
||||||
xue-schhist:
|
xue-schhist:
|
||||||
SCHHIST_TITLE=Xue \
|
SCHHIST_TITLE=Xue \
|
||||||
@ -30,8 +33,7 @@ xue-schhist:
|
|||||||
./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
|
./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
|
||||||
|
|
||||||
xue-schhist-upload:
|
xue-schhist-upload:
|
||||||
rsync -a --progress _xue/{index.html,unchanged.png,thum*,diff*} \
|
$(RSYNC) _xue/$(UPLOAD) $(DEST)/demo2/
|
||||||
werner@host:/home/httpd/almesberger/misc/ben/demo2/
|
|
||||||
|
|
||||||
cntr-schhist:
|
cntr-schhist:
|
||||||
SCHHIST_TITLE=ben-wpan/cntr \
|
SCHHIST_TITLE=ben-wpan/cntr \
|
||||||
@ -40,5 +42,4 @@ cntr-schhist:
|
|||||||
./schhist2web cntr/cntr.sch _cntr
|
./schhist2web cntr/cntr.sch _cntr
|
||||||
|
|
||||||
cntr-schhist-upload:
|
cntr-schhist-upload:
|
||||||
rsync -a --progress _cntr/{index.html,unchanged.png,thum*,diff*} \
|
$(RSYNC) _cntr/$(UPLOAD) $(DEST)/demo3/
|
||||||
werner@host:/home/httpd/almesberger/misc/ben/demo3/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user