Last change
on this file since 328 was
328,
checked in by nanardon, 13 years ago
|
|
-
Property svn:eol-style set to
native
|
File size:
1.7 KB
|
Line | |
---|
1 | # $Id: Makefile 257 2010-07-11 19:20:34Z nanardon $ |
---|
2 | |
---|
3 | .SUFFIXES: .dvi .pdf .eps .fig .png |
---|
4 | |
---|
5 | SOURCES= \ |
---|
6 | main.tex \ |
---|
7 | main.handout.tex \ |
---|
8 | main.article.tex \ |
---|
9 | |
---|
10 | INCLUDED = \ |
---|
11 | resume.tex \ |
---|
12 | c.tex \ |
---|
13 | cpp.tex \ |
---|
14 | fortran.tex \ |
---|
15 | java.tex \ |
---|
16 | csharp.tex \ |
---|
17 | perl.tex \ |
---|
18 | python.tex \ |
---|
19 | ruby.tex \ |
---|
20 | php.tex \ |
---|
21 | scilab.tex \ |
---|
22 | matlab.tex \ |
---|
23 | r.tex \ |
---|
24 | idl.tex \ |
---|
25 | generalite_fonctionnel.tex \ |
---|
26 | generalite_applicatifs.tex \ |
---|
27 | ocaml.tex \ |
---|
28 | haskell.tex \ |
---|
29 | lexique.tex \ |
---|
30 | commlang.tex \ |
---|
31 | |
---|
32 | FIGURES= \ |
---|
33 | |
---|
34 | IMAGES= \ |
---|
35 | lang_call.png |
---|
36 | |
---|
37 | EXAMPLES = \ |
---|
38 | |
---|
39 | DVI=$(SOURCES:.tex=.dvi) |
---|
40 | PDF=$(SOURCES:.tex=.pdf) |
---|
41 | EPS=$(FIGURES:.fig=.eps) $(IMAGES:.png=.eps) |
---|
42 | |
---|
43 | DEPENDENCIES = $(INCLUDED) |
---|
44 | |
---|
45 | all: main.pdf main.handout.pdf main.article.pdf |
---|
46 | |
---|
47 | pdf: $(EPS) $(PDF) |
---|
48 | |
---|
49 | dvi: $(EPS) $(DVI) |
---|
50 | |
---|
51 | pesentation.dvi: |
---|
52 | |
---|
53 | %.dvi: %.tex $(EPS) $(DEPENDENCIES) |
---|
54 | (latex -halt-on-error $< && latex -halt-on-error $<) || (rm $@ && /bin/false) |
---|
55 | |
---|
56 | main.pdf: main.tex $(DEPENDENCIES) $(IMAGES) main.handout.pdf |
---|
57 | (pdflatex -halt-on-error $< && pdflatex -halt-on-error $<) || (rm $@ && /bin/false) |
---|
58 | |
---|
59 | main.handout.pdf: main.handout.tex $(DEPENDENCIES) $(IMAGES) |
---|
60 | (pdflatex -halt-on-error $< && pdflatex -halt-on-error $<) || (rm $@ && /bin/false) |
---|
61 | |
---|
62 | main.article.pdf: main.article.tex $(DEPENDENCIES) $(IMAGES) |
---|
63 | (pdflatex -halt-on-error $< && pdflatex -halt-on-error $<) || (rm $@ && /bin/false) |
---|
64 | |
---|
65 | %.eps: %.fig |
---|
66 | fig2dev -L eps $< $@ |
---|
67 | |
---|
68 | .png.eps: |
---|
69 | convert $< $@ |
---|
70 | |
---|
71 | main.handout.tex: main.tex Makefile |
---|
72 | cat $< | sed 's/notes/handout/' > $@ |
---|
73 | |
---|
74 | main.article.tex: main.tex Makefile |
---|
75 | cat $< | sed 's/\\documentclass.*/\\documentclass[a4paper]{article}\\usepackage{beamerarticle}\\usepackage[a4paper]{geometry}/' > $@ |
---|
76 | |
---|
77 | lang_call.png: lang_call.txt Makefile |
---|
78 | dot $< -o$@ -Tpng |
---|
79 | #twopi $< -o$@ -Tpng |
---|
80 | |
---|
81 | clean: |
---|
82 | rm -f $(EPS) |
---|
83 | rm -f $(DVI) |
---|
84 | rm -f $(PDF) |
---|
85 | |
---|
86 | .PHONY: clean |
---|
Note: See
TracBrowser
for help on using the repository browser.