source: liacs/ccs/op3/Makefile@ 204

Last change on this file since 204 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: 745 bytes
Line 
1# Rick van der Zwet <rick@wzoeterwoude.net>
2TARGET = report
3LATEX = latex
4XDVI = xdvi
5TEX = latex -halt-on-error
6DVIPDF = dvipdf
7ASPELL = aspell
8ASPELL_ARGS = -c --mode=tex
9.SUFFIXES: .pdf
10
11help:
12 @echo "Usage Makefile <option>"
13
14all: clean view
15
16view: viewdvi
17
18viewdvi: builddvi
19 $(XDVI) $(TARGET)
20
21builddvi: $(TARGET).dvi
22
23clean:
24 rm -vf *.aux *.dvi *.log *toc *.out *.bak
25
26distclean: clean
27 rm -vf $(TARGET).pdf
28
29buildpdf: $(TARGET).pdf
30
31viewpdf: buildpdf
32 open $(TARGET).pdf
33
34spell: spell-nl
35
36spell-nl: $(TARGET).tex
37 $(ASPELL) -l nl -p ~/aspell-n.dic $(ASPELL_ARGS) $<
38
39spell-en: $(TARGET).tex
40 $(ASPELL) -l en -p ~/aspell-en.dic $(ASPELL_ARGS) $<
41
42.dvi.pdf:
43 $(DVIPDF) $? $@
44
45.tex.dvi:
46 $(TEX) $? $@
47 $(TEX) $? $@
48
49.gs.png:
50 $(GNUPLOT) $?
Note: See TracBrowser for help on using the repository browser.