Root/fisl2011/Makefile

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

Archive Download this file

Branches:
master



interactive