Root/fisl2012/Makefile

Source at commit 51106cf9b34d773e72aa00385c80a9abb76b28df created 5 years 11 months ago.
By Werner Almesberger, ircstat/ML: update for 11/2013
1SHELL=/bin/bash
2
3#DL=USB.png Nano_cola.jpg Atben_atusb_prod_03.jpg Atben_atusb_prod_05.jpg \
4# M1_dmx_video.jpg \
5# UBB_production_08.JPG ubb-vga-pub-plugged-medium.jpg \
6# ubb-vga-pub-1024-medium.jpg SIE_KICAD.png
7#GEN=schhist.png fped.png kicad.png achieve.pdf flow.pdf
8GEN=schem.pdf assoc.pdf layout.pdf cat-comp.pdf cat-mod.pdf all.pdf
9#PNG=atusb-front.png
10
11.PHONY: spotless clean upload upload-es
12
13all: talk.pdf
14        xpdf talk.pdf
15
16talk.pdf: talk.tex $(GEN) $(DL) $(PNG)
17        pdflatex talk
18
19kicad.png: eeschema.xwd pcbnew.xwd
20        pnmcomp -xoff=0 -yoff=300 \
21          <(convert eeschema.xwd ppm:-) \
22          <(convert pcbnew.xwd ppm:- | \
23            pnmpad -white -left=900 -bottom=300) | \
24          convert - $@
25
26eeschema.png: eeschema.xwd
27        convert $< $@
28
29comped.png: comped.xwd
30        convert $< $@
31
32cvpcb.png: cvpcb.xwd
33        convert $< $@
34
35moded.png: moded.xwd
36        convert $< $@
37
38pcbnew.png: pcbnew.xwd
39        convert $< $@
40
41schem.pdf: schem.fig eeschema.png comped.png
42        fig2dev -L pdf $< $@
43
44assoc.pdf: assoc.fig cvpcb.png moded.png
45        fig2dev -L pdf $< $@
46
47layout.pdf: layout.fig pcbnew.png
48        fig2dev -L pdf $< $@
49
50cat-comp.pdf: cat-comp.fig
51        fig2dev -L pdf $< $@
52
53cat-mod.pdf: cat-mod.fig
54        fig2dev -L pdf $< $@
55
56all.pdf: all.fig
57        fig2dev -L pdf $< $@
58
59talk.ps: talk.pdf
60        pdftops -paper A4 -expand $< $@
61
62p8: talk.ps
63        mpage -8 $< | lpr
64
65spotless:
66        rm -f $(DL)
67
68clean:
69        rm -f $(GEN) talk.ps
70
71upload: talk.pdf
72        qippl talk.pdf fisl13.pdf
73

Archive Download this file

Branches:
master



interactive