Root/prod/doc/Makefile

Source at commit b9343a9bb72eefdacd324d403e1a6e477ec4cd70 created 8 years 6 months ago.
By Werner Almesberger, prod/doc/Makefile: added upload to downloads.qi-hardware.com
1PNGS=flow.png setup-A.png setup-B.png setup-C.png setup-D.png
2HTMLS=index.html setup.html flash.html test.html analysis.html
3JPGS=atusb-programming.jpg
4
5.PHONY: all upload clean
6
7all: $(PNGS) $(JPGS)
8
9flow.png: flow.fig
10        fig2dev -L png -m 0.7 -S 4 $< $@ || { rm -f $@; exit 1; }
11
12setup-%.png: setup.fig
13        ./figfilt `echo $@ | tr -cd 'A-Z'` $< | \
14            fig2dev -L png -m 0.7 -S 4 >$@ || \
15            { rm -f $@; exit 1; }
16
17atusb-programming.jpg:
18        wget http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-programming.jpg
19
20upload: $(HTMLS) $(PNGS) $(JPGS)
21        rsync -e ssh $^ \
22            www-data@downloads.qi-hardware.com:werner/wpan/prod/
23
24clean:
25        rm -f $(PNGS)
26

Archive Download this file



interactive