mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 16:25:30 +02:00
b830302e67
- atben.fig, atusb.fig: layout images overlaid by markup - Makefile: added images derived from atben.fig and atusb.fig - Makefile: added generation of the layout images atben.fig and atusb.fig are based on - analysis.html: show measurement locations for CLKM and CLK
64 lines
1.5 KiB
Makefile
64 lines
1.5 KiB
Makefile
PNGS=flow.png setup-A.png setup-B.png setup-C.png setup-D.png \
|
|
atben-A.png atusb-A.png \
|
|
atben-A-small.png atusb-A-small.png
|
|
HTMLS=index.html setup.html flash.html test.html analysis.html
|
|
JPGS=atusb-programming.jpg atrf-path.png atrf-path-small.png
|
|
|
|
DL=http://downloads.qi-hardware.com/people/werner/wpan/tmp
|
|
|
|
|
|
.PHONY: all upload clean
|
|
|
|
all: $(PNGS) $(JPGS)
|
|
|
|
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; }
|
|
|
|
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; }
|
|
|
|
atusb-programming.jpg:
|
|
wget $(DL)/atusb-programming.jpg
|
|
|
|
atrf-path.png:
|
|
wget $(DL)/atrf-path.png
|
|
|
|
atrf-path-small.png: \
|
|
atrf-path.png
|
|
convert -scale 50% $< $@
|
|
|
|
%-front.png:
|
|
$(MAKE) -C ../../$* $@
|
|
mv ../../$*/$@ .
|
|
|
|
upload: $(HTMLS) $(PNGS) $(JPGS)
|
|
rsync -e ssh $^ \
|
|
www-data@downloads.qi-hardware.com:werner/wpan/prod/
|
|
|
|
clean:
|
|
rm -f $(PNGS)
|