2012-07-22 07:02:40 +03:00
|
|
|
SHELL=/bin/bash
|
|
|
|
|
|
|
|
#DL=USB.png Nano_cola.jpg Atben_atusb_prod_03.jpg Atben_atusb_prod_05.jpg \
|
|
|
|
# M1_dmx_video.jpg \
|
|
|
|
# UBB_production_08.JPG ubb-vga-pub-plugged-medium.jpg \
|
|
|
|
# ubb-vga-pub-1024-medium.jpg SIE_KICAD.png
|
|
|
|
#GEN=schhist.png fped.png kicad.png achieve.pdf flow.pdf
|
2012-07-27 00:28:18 +03:00
|
|
|
GEN=schem.pdf assoc.pdf layout.pdf cat-comp.pdf cat-mod.pdf all.pdf
|
2012-07-22 07:02:40 +03:00
|
|
|
#PNG=atusb-front.png
|
|
|
|
|
|
|
|
.PHONY: spotless clean upload upload-es
|
|
|
|
|
|
|
|
all: talk.pdf
|
|
|
|
xpdf talk.pdf
|
|
|
|
|
|
|
|
talk.pdf: talk.tex $(GEN) $(DL) $(PNG)
|
|
|
|
pdflatex talk
|
|
|
|
|
|
|
|
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 - $@
|
|
|
|
|
2012-07-25 21:32:04 +03:00
|
|
|
eeschema.png: eeschema.xwd
|
2012-07-22 07:02:40 +03:00
|
|
|
convert $< $@
|
|
|
|
|
2012-07-25 21:32:04 +03:00
|
|
|
comped.png: comped.xwd
|
2012-07-22 07:02:40 +03:00
|
|
|
convert $< $@
|
|
|
|
|
2012-07-25 22:39:31 +03:00
|
|
|
cvpcb.png: cvpcb.xwd
|
|
|
|
convert $< $@
|
|
|
|
|
|
|
|
moded.png: moded.xwd
|
|
|
|
convert $< $@
|
|
|
|
|
2012-07-26 18:34:54 +03:00
|
|
|
pcbnew.png: pcbnew.xwd
|
|
|
|
convert $< $@
|
|
|
|
|
2012-07-25 21:32:04 +03:00
|
|
|
schem.pdf: schem.fig eeschema.png comped.png
|
2012-07-22 07:02:40 +03:00
|
|
|
fig2dev -L pdf $< $@
|
|
|
|
|
2012-07-25 22:39:31 +03:00
|
|
|
assoc.pdf: assoc.fig cvpcb.png moded.png
|
|
|
|
fig2dev -L pdf $< $@
|
|
|
|
|
2012-07-26 18:34:54 +03:00
|
|
|
layout.pdf: layout.fig pcbnew.png
|
|
|
|
fig2dev -L pdf $< $@
|
|
|
|
|
2012-07-24 10:55:22 +03:00
|
|
|
cat-comp.pdf: cat-comp.fig
|
|
|
|
fig2dev -L pdf $< $@
|
|
|
|
|
|
|
|
cat-mod.pdf: cat-mod.fig
|
2012-07-22 07:02:40 +03:00
|
|
|
fig2dev -L pdf $< $@
|
|
|
|
|
2012-07-27 00:28:18 +03:00
|
|
|
all.pdf: all.fig
|
|
|
|
fig2dev -L pdf $< $@
|
|
|
|
|
2012-07-22 07:02:40 +03:00
|
|
|
talk.ps: talk.pdf
|
2012-07-24 13:32:24 +03:00
|
|
|
pdftops -paper A4 -expand $< $@
|
2012-07-22 07:02:40 +03:00
|
|
|
|
2012-07-24 13:32:24 +03:00
|
|
|
p8: talk.ps
|
2012-07-22 07:02:40 +03:00
|
|
|
mpage -8 $< | lpr
|
|
|
|
|
|
|
|
spotless:
|
|
|
|
rm -f $(DL)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(GEN) talk.ps
|
|
|
|
|
|
|
|
upload: talk.pdf
|
|
|
|
qippl talk.pdf fisl13.pdf
|