Date:2011-05-27 17:47:08 (8 years 5 months ago)
Author:Werner Almesberger
Commit:77a60a9e03638792fcedfd512818a7e5b9e01ef0
Message:prod/doc/Makefile: added "spotless"; cleaned up generated/downloaded/orig logic

Files: prod/doc/Makefile (2 diffs)

Change Details

prod/doc/Makefile
1PNGS=flow.png setup-A.png setup-B.png setup-C.png setup-D.png \
2     atben-A.png atusb-A.png atben-B.png atusb-B.png \
3     atben-A-small.png atusb-A-small.png atben-B-small.png atusb-B-small.png
4HTMLS=index.html setup.html flash.html test.html analysis.html
5JPGS=atusb-programming.jpg atrf-path.png atrf-path-small.png
1DOWNLOADED=atusb-programming.jpg atrf-path.png
2GENERATED=index.html setup.html flash.html test.html analysis.html \
3      flow.png setup-A.png setup-B.png setup-C.png setup-D.png \
4      atben-A.png atusb-A.png atben-B.png atusb-B.png \
5      atben-A-small.png atusb-A-small.png \
6      atben-B-small.png atusb-B-small.png \
7      atrf-path-small.png
68
79DL=http://downloads.qi-hardware.com/people/werner/wpan/tmp
810
911
10.PHONY: all upload clean
12.PHONY: all upload clean spotless
1113
12all: $(HTMLS) $(PNGS) $(JPGS)
14all: $(DOWNLOADED) $(GENERATED)
1315
1416%.html: %.hmac style.inc hmac.pl
1517        perl hmac.pl $*.hmac >$@ || { rm -f $@; exit 1; }
...... 
5860          atrf-path.png
5961        convert -scale 50% $< $@
6062
61upload: $(HTMLS) $(PNGS) $(JPGS)
63upload: $(GENERATED) $(DOWNLOADS)
6264        rsync -e ssh $^ \
6365            www-data@downloads.qi-hardware.com:werner/wpan/prod/
6466
6567clean:
66        rm -f $(PNGS)
68        rm -f $(GENERATED)
69
70spotless: clean
71        rm -f $(DOWNLOADED)

Archive Download the corresponding diff file



interactive