2011-05-27 03:14:05 +03:00
|
|
|
PNGS=flow.png setup-A.png setup-B.png setup-C.png setup-D.png \
|
2011-05-27 03:57:40 +03:00
|
|
|
atben-A.png atusb-A.png atben-B.png atusb-B.png \
|
|
|
|
atben-A-small.png atusb-A-small.png atben-B-small.png atusb-B-small.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-27 01:44:29 +03:00
|
|
|
DL=http://downloads.qi-hardware.com/people/werner/wpan/tmp
|
|
|
|
|
|
|
|
|
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-27 10:34:59 +03:00
|
|
|
%-front.png:
|
|
|
|
$(MAKE) -C ../../$* $@
|
|
|
|
mv ../../$*/$@ .
|
|
|
|
|
2011-05-27 03:14:05 +03:00
|
|
|
atben-%-small.png: \
|
|
|
|
atben.fig
|
|
|
|
./figfilt `echo $@ | tr -cd 'A-Z'` $< | \
|
|
|
|
fig2dev -L png -m 0.5 -S 4 >$@ || \
|
|
|
|
{ rm -f $@; exit 1; }
|
|
|
|
|
|
|
|
atben-%.png: atben.fig
|
|
|
|
./figfilt `echo $@ | tr -cd 'A-Z'` $< | \
|
|
|
|
fig2dev -L png -m 2 -S 4 >$@ || \
|
|
|
|
{ rm -f $@; exit 1; }
|
|
|
|
|
|
|
|
atusb-%-small.png: \
|
|
|
|
atusb.fig
|
|
|
|
./figfilt `echo $@ | tr -cd 'A-Z'` $< | \
|
|
|
|
fig2dev -L png -m 0.5 -S 4 >$@ || \
|
|
|
|
{ rm -f $@; exit 1; }
|
|
|
|
|
|
|
|
atusb-%.png: atusb.fig
|
|
|
|
./figfilt `echo $@ | tr -cd 'A-Z'` $< | \
|
|
|
|
fig2dev -L png -m 2 -S 4 >$@ || \
|
|
|
|
{ rm -f $@; exit 1; }
|
|
|
|
|
2011-05-26 22:13:03 +03:00
|
|
|
atusb-programming.jpg:
|
2011-05-27 01:44:29 +03:00
|
|
|
wget $(DL)/atusb-programming.jpg
|
2011-05-26 22:13:03 +03:00
|
|
|
|
2011-05-27 01:42:57 +03:00
|
|
|
atrf-path.png:
|
2011-05-27 01:44:29 +03:00
|
|
|
wget $(DL)/atrf-path.png
|
2011-05-27 01:42:57 +03:00
|
|
|
|
|
|
|
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)
|