Date:2010-08-29 19:38:20 (8 years 10 months ago)
Author:Werner Almesberger
Commit:081aed3a1283e59bad9840dc5d0f595ba732456b
Message:scripts/: minor Makefile cleanup.

- scripts/Makefile: moved redundant parts of rsync commands into variables
shared among targets
Files: scripts/Makefile (4 diffs)

Change Details

scripts/Makefile
11SHELL = /bin/bash
22
3UPLOAD = {index.html,unchanged.png,thum*,diff*}
4DEST = werner@host:/home/httpd/almesberger/misc/ben/
5RSYNC = rsync -a --progress
6
37.PHONY: all ben-wpan-schhist ben-wpan-schhist-upload
48.PHONY: xue-schhist xue-schhist-upload
59.PHONY: cntr-schhist cntr-schhist-upload
...... 
2024      ./schhist2web atrf/wpan-atrf.sch
2125
2226ben-wpan-schhist-upload:
23     rsync -a --progress _out/{index.html,unchanged.png,thum*,diff*} \
24       werner@host:/home/httpd/almesberger/misc/ben/demo/
27     $(RSYNC) _out/$(UPLOAD) $(DEST)/demo/
2528
2629xue-schhist:
2730    SCHHIST_TITLE=Xue \
...... 
3033      ./schhist2web -S ../../xue kicad/xue-rnc/xue-rnc.sch _xue
3134
3235xue-schhist-upload:
33     rsync -a --progress _xue/{index.html,unchanged.png,thum*,diff*} \
34       werner@host:/home/httpd/almesberger/misc/ben/demo2/
36     $(RSYNC) _xue/$(UPLOAD) $(DEST)/demo2/
3537
3638cntr-schhist:
3739    SCHHIST_TITLE=ben-wpan/cntr \
...... 
4042      ./schhist2web cntr/cntr.sch _cntr
4143
4244cntr-schhist-upload:
43     rsync -a --progress _cntr/{index.html,unchanged.png,thum*,diff*} \
44       werner@host:/home/httpd/almesberger/misc/ben/demo3/
45    $(RSYNC) _cntr/$(UPLOAD) $(DEST)/demo3/

Archive Download the corresponding diff file



interactive