source: liacs/dbdm/dbdm_3/latex.mk@ 351

Last change on this file since 351 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: 886 bytes
Line 
1# Rick van der Zwet <rick@wzoeterwoude.net>
2# Licence: BSD
3# Descrip: LaTex file parser
4# $Id: latex.mk 571 2008-04-20 17:31:04Z rick $
5
6TARGET = report
7LATEX = latex
8XDVI = xdvi
9TEX = latex -halt-on-error
10DVIPDF = dvipdf
11ASPELL = aspell
12ASPELL_ARGS = -c --mode=tex
13.SUFFIXES: .pdf
14
15help:
16 @echo "Usage Makefile <option>"
17
18doc-all: doc-distclean buildpdf
19
20view: viewpdf
21
22viewdvi: builddvi
23 $(XDVI) $(TARGET)
24
25builddvi: $(TARGET).dvi
26
27doc-clean:
28 rm -vf *.aux *.log *toc *.out *.bak
29
30doc-distclean: doc-clean
31 rm -vf $(TARGET).dvi $(TARGET).pdf $(PROGRAM)
32
33buildpdf: $(TARGET).pdf
34
35viewpdf: buildpdf
36 open $(TARGET).pdf
37
38spell: spell-en
39
40spell-nl: $(TARGET).tex
41 $(ASPELL) -l nl -p ~/aspell-n.dic $(ASPELL_ARGS) $<
42
43spell-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.