Root/fisl2011/Makefile

Source at commit 4797aed31346dc4c7fe76919736b5251a51bdbd0 created 8 years 4 months ago.
By Werner Almesberger, mm1rc3/: renamed to m1rc3/
1SHELL=/bin/bash
2
3DL=USB.png Nano_cola.jpg Atben_atusb_prod_05.jpg M1_dmx_video.jpg \
4   UBB_production_08.JPG ubb-vga-pub-plugged-medium.jpg \
5   ubb-vga-pub-1024-medium.jpg SIE_KICAD.png
6GEN=schhist.png fped.png kicad.png achieve.pdf flow.pdf
7PNG=atusb-front.png
8
9.PHONY: spotless clean upload upload-es
10
11all: talk.pdf
12        xpdf talk.pdf
13
14talk.pdf: talk.tex $(GEN) $(DL) $(PNG)
15        pdflatex talk
16
17talk-es.pdf: talk-es.tex $(GEN) $(DL) $(PNG)
18        pdflatex talk-es
19
20kicad.png: eeschema.xwd pcbnew.xwd
21        pnmcomp -xoff=0 -yoff=300 \
22          <(convert eeschema.xwd ppm:-) \
23          <(convert pcbnew.xwd ppm:- | \
24            pnmpad -white -left=900 -bottom=300) | \
25          convert - $@
26
27schhist.png: schhist.xwd
28        convert $< $@
29
30fped.png: fped.xwd
31        convert $< $@
32
33USB.png:
34        wget http://projects.qi-hardware.com/schhist/atusb/847b3546d90d7271690bcd17014cf2cae9482538/diff/USB.png
35
36Nano_cola.jpg:
37        wget http://en.qi-hardware.com/w/images/7/78/Nano_cola.jpg
38
39Atben_atusb_prod_03.jpg:
40        wget http://en.qi-hardware.com/w/images/0/06/Atben_atusb_prod_03.jpg
41
42Atben_atusb_prod_05.jpg:
43        wget http://en.qi-hardware.com/w/images/c/ce/Atben_atusb_prod_05.jpg
44
45M1_dmx_video.jpg:
46        wget http://en.qi-hardware.com/w/images/5/55/M1_dmx_video.jpg
47
48UBB_production_08.JPG:
49        wget http://en.qi-hardware.com/w/images/8/83/UBB_production_08.JPG
50
51ubb-vga-pub-plugged-medium.jpg:
52        wget http://downloads.qi-hardware.com/people/werner/ubb/vga/web/ubb-vga-pub-plugged-medium.jpg
53
54ubb-vga-pub-1024-medium.jpg:
55        wget http://downloads.qi-hardware.com/people/werner/ubb/vga/web/ubb-vga-pub-1024-medium.jpg
56
57SIE_KICAD.png:
58    wget http://linuxencaja.com/images/9/9d/SIE_KICAD.png
59
60achieve.pdf: achieve.fig
61        fig2dev -L pdf $< $@
62
63flow.pdf: flow.fig
64        fig2dev -L pdf $< $@
65
66talk.ps: talk.pdf
67        pdf2ps $< $@
68
69p16: talk.ps
70        mpage -8 $< | lpr
71
72spotless:
73        rm -f $(DL)
74
75clean:
76        rm -f $(GEN) talk.ps
77
78upload: talk.pdf
79        qippl talk.pdf fisl12.pdf
80
81upload-es: talk-es.pdf
82        qippl talk-es.pdf fisl12_es.pdf
83

Archive Download this file

Branches:
master



interactive