mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
22 lines
441 B
Makefile
22 lines
441 B
Makefile
|
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
|
||
|
|
||
|
|