Root/fisl2011/Makefile

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

Archive Download this file

Branches:
master



interactive