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