blob: a19e321928e124935e22dfa8817038745bd8ead6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001LATEXFILE = cdrom-standard
2
3all:
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
15clean:
16 rm -f $(LATEXFILE).ps $(LATEXFILE).dvi $(LATEXFILE).aux $(LATEXFILE).log
17
18sortofclean:
19 rm -f $(LATEXFILE).aux $(LATEXFILE).log
20
21