summaryrefslogtreecommitdiffstats
path: root/Documentation/cdrom/Makefile
blob: a19e321928e124935e22dfa8817038745bd8ead6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
LATEXFILE = cdrom-standard

all:
	make clean
	latex $(LATEXFILE)
	latex $(LATEXFILE)
	@if [ -x `which gv` ]; then \
		`dvips -q -t letter -o $(LATEXFILE).ps $(LATEXFILE).dvi` ;\
		`gv -antialias -media letter -nocenter $(LATEXFILE).ps` ;\
	else \
		`xdvi $(LATEXFILE).dvi &` ;\
	fi
	make sortofclean

clean:
	rm -f $(LATEXFILE).ps $(LATEXFILE).dvi $(LATEXFILE).aux $(LATEXFILE).log 

sortofclean:
	rm -f $(LATEXFILE).aux $(LATEXFILE).log