2011-05-18 03:57:18 +03:00
|
|
|
PNGS=flow.png setup-A.png setup-B.png setup-C.png setup-D.png
|
2011-05-26 22:39:26 +03:00
|
|
|
HTMLS=index.html setup.html flash.html test.html analysis.html
|
2011-05-27 01:42:57 +03:00
|
|
|
JPGS=atusb-programming.jpg atrf-path.png atrf-path-small.png
|
2011-05-18 03:57:18 +03:00
|
|
|
|
2011-05-26 22:39:26 +03:00
|
|
|
.PHONY: all upload clean
|
|
|
|
|
2011-05-26 22:13:03 +03:00
|
|
|
all: $(PNGS) $(JPGS)
|
2011-05-18 03:57:18 +03:00
|
|
|
|
|
|
|
flow.png: flow.fig
|
|
|
|
fig2dev -L png -m 0.7 -S 4 $< $@ || { rm -f $@; exit 1; }
|
|
|
|
|
|
|
|
setup-%.png: setup.fig
|
|
|
|
./figfilt `echo $@ | tr -cd 'A-Z'` $< | \
|
|
|
|
fig2dev -L png -m 0.7 -S 4 >$@ || \
|
|
|
|
{ rm -f $@; exit 1; }
|
|
|
|
|
2011-05-26 22:13:03 +03:00
|
|
|
atusb-programming.jpg:
|
|
|
|
wget http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-programming.jpg
|
|
|
|
|
2011-05-27 01:42:57 +03:00
|
|
|
atrf-path.png:
|
|
|
|
wget http://downloads.qi-hardware.com/people/werner/wpan/tmp/atrf-path.png
|
|
|
|
|
|
|
|
atrf-path-small.png: \
|
|
|
|
atrf-path.png
|
|
|
|
convert -scale 50% $< $@
|
|
|
|
|
2011-05-26 22:39:26 +03:00
|
|
|
upload: $(HTMLS) $(PNGS) $(JPGS)
|
|
|
|
rsync -e ssh $^ \
|
|
|
|
www-data@downloads.qi-hardware.com:werner/wpan/prod/
|
|
|
|
|
2011-05-18 03:57:18 +03:00
|
|
|
clean:
|
|
|
|
rm -f $(PNGS)
|