Last change
on this file since 291 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:
827 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 | EXECUTABLE=bridge
|
---|
| 12 |
|
---|
| 13 | help:
|
---|
| 14 | @echo "Usage Makefile <option>"
|
---|
| 15 |
|
---|
| 16 | all: dist-clean buildpdf program
|
---|
| 17 |
|
---|
| 18 | view: viewpdf
|
---|
| 19 |
|
---|
| 20 | viewdvi: builddvi
|
---|
| 21 | $(XDVI) $(TARGET)
|
---|
| 22 |
|
---|
| 23 | builddvi: $(TARGET).dvi
|
---|
| 24 |
|
---|
| 25 | clean:
|
---|
| 26 | rm -vf *.aux *.log *toc *.out *.bak
|
---|
| 27 |
|
---|
| 28 | dist-clean: clean
|
---|
| 29 | rm -vf $(TARGET).dvi $(TARGET).pdf $(PROGRAM)
|
---|
| 30 |
|
---|
| 31 | buildpdf: $(TARGET).pdf
|
---|
| 32 |
|
---|
| 33 | viewpdf: buildpdf
|
---|
| 34 | xpdf $(TARGET).pdf 3
|
---|
| 35 |
|
---|
| 36 | spell: spell-en
|
---|
| 37 |
|
---|
| 38 | spell-nl: $(TARGET).tex
|
---|
| 39 | $(ASPELL) -l nl -p ~/aspell-n.dic $(ASPELL_ARGS) $<
|
---|
| 40 |
|
---|
| 41 | spell-en: $(TARGET).tex
|
---|
| 42 | $(ASPELL) -l en -p ~/aspell-en.dic $(ASPELL_ARGS) $<
|
---|
| 43 |
|
---|
| 44 | .dvi.pdf:
|
---|
| 45 | $(DVIPDF) $? $@
|
---|
| 46 |
|
---|
| 47 | .tex.dvi:
|
---|
| 48 | $(TEX) $? $@
|
---|
| 49 | $(TEX) $? $@
|
---|
| 50 |
|
---|
| 51 | .gs.png:
|
---|
| 52 | $(GNUPLOT) $?
|
---|
| 53 |
|
---|
| 54 | program: $(EXECUTABLE)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.