mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 00:54:41 +08: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
|
||
|
|
||
|
|