Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | LATEXFILE = cdrom-standard |
| 2 | |
| 3 | all: |
| 4 | make clean |
| 5 | latex $(LATEXFILE) |
| 6 | latex $(LATEXFILE) |
| 7 | @if [ -x `which gv` ]; then \ |
| 8 | `dvips -q -t letter -o $(LATEXFILE).ps $(LATEXFILE).dvi` ;\ |
| 9 | `gv -antialias -media letter -nocenter $(LATEXFILE).ps` ;\ |
| 10 | else \ |
| 11 | `xdvi $(LATEXFILE).dvi &` ;\ |
| 12 | fi |
| 13 | make sortofclean |
| 14 | |
| 15 | clean: |
| 16 | rm -f $(LATEXFILE).ps $(LATEXFILE).dvi $(LATEXFILE).aux $(LATEXFILE).log |
| 17 | |
| 18 | sortofclean: |
| 19 | rm -f $(LATEXFILE).aux $(LATEXFILE).log |
| 20 | |
| 21 | |