Last change
on this file since 392 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
885 bytes
|
Line | |
---|
1 | # Rick van der Zwet <rick@wzoeterwoude.net>
|
---|
2 | # Licence: BSD
|
---|
3 | # Descrip: LaTex file parser
|
---|
4 | # $Id: latex.mk 736 2009-04-29 05:31:01Z rick $
|
---|
5 |
|
---|
6 | TARGET = report
|
---|
7 | LATEX = latex
|
---|
8 | XDVI = xdvi
|
---|
9 | TEX = latex -halt-on-error
|
---|
10 | DVIPDF = dvipdf
|
---|
11 | ASPELL = aspell
|
---|
12 | ASPELL_ARGS = -c --mode=tex
|
---|
13 | .SUFFIXES: .pdf
|
---|
14 |
|
---|
15 | help:
|
---|
16 | @echo "Usage Makefile <option>"
|
---|
17 |
|
---|
18 | doc-all: doc-distclean buildpdf
|
---|
19 |
|
---|
20 | view: viewpdf
|
---|
21 |
|
---|
22 | viewdvi: builddvi
|
---|
23 | $(XDVI) $(TARGET)
|
---|
24 |
|
---|
25 | builddvi: $(TARGET).dvi
|
---|
26 |
|
---|
27 | doc-clean:
|
---|
28 | rm -vf *.aux *.log *toc *.out *.bak
|
---|
29 |
|
---|
30 | doc-distclean: doc-clean
|
---|
31 | rm -vf $(TARGET).dvi $(TARGET).pdf $(PROGRAM)
|
---|
32 |
|
---|
33 | buildpdf: $(TARGET).pdf
|
---|
34 |
|
---|
35 | viewpdf: buildpdf
|
---|
36 | xpdf $(TARGET).pdf
|
---|
37 |
|
---|
38 | spell: spell-en
|
---|
39 |
|
---|
40 | spell-nl: $(TARGET).tex
|
---|
41 | $(ASPELL) -l nl -p ~/aspell-n.dic $(ASPELL_ARGS) $<
|
---|
42 |
|
---|
43 | spell-en: $(TARGET).tex
|
---|
44 | $(ASPELL) -l en -p ~/aspell-en.dic $(ASPELL_ARGS) $<
|
---|
45 |
|
---|
46 | .dvi.pdf:
|
---|
47 | $(DVIPDF) $? $@
|
---|
48 |
|
---|
49 | .tex.dvi:
|
---|
50 | $(TEX) $? $@
|
---|
51 | $(TEX) $? $@
|
---|
52 |
|
---|
53 | .gs.png:
|
---|
54 | $(GNUPLOT) $?
|
---|
Note:
See
TracBrowser
for help on using the repository browser.