1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 09:10:38 +02:00
wernermisc/fisl2011/Makefile
2011-06-28 05:46:49 -03:00

37 lines
672 B
Makefile

SHELL=/bin/bash
DL=USB.png
GEN=schhist.png fped.png kicad.png achieve.pdf
PNG=atusb-front.png
.PHONY: spotless clean
all: $(GEN) $(DL) $(PNG)
pdflatex talk
xpdf talk.pdf
kicad.png: eeschema.xwd pcbnew.xwd
pnmcomp -xoff=0 -yoff=300 \
<(convert eeschema.xwd ppm:-) \
<(convert pcbnew.xwd ppm:- | \
pnmpad -white -left=900 -bottom=300) | \
convert - $@
schhist.png: schhist.xwd
convert $< $@
fped.png: fped.xwd
convert $< $@
USB.png:
wget http://projects.qi-hardware.com/schhist/atusb/847b3546d90d7271690bcd17014cf2cae9482538/diff/USB.png
achieve.pdf: achieve.fig
fig2dev -L pdf $< $@
spotless:
rm -f $(DL)
clean:
rm -f $(GEN)