doc/: added PostScript generation rule to Makefile

This commit is contained in:
salva 2006-05-26 16:11:54 +00:00
parent db2e58388f
commit 8382288c1c
1 changed files with 8 additions and 8 deletions

View File

@ -1,25 +1,25 @@
# window manager improved 2 user guide
l2h_opts=-local_icons -scalable_fonts -split +1 -subdir -show_section_numbers -address "<br>Last update: $(shell date) by $$USER@$$HOSTNAME"
SRC = guide_en.tex wmii.tex
DVI = ${SRC:.tex=.dvi}
PDF = ${SRC:.tex=.pdf}
PS = ${SRC:.tex=.ps}
HTML = ${SRC:.tex=.html}
all: ${DVI} ${PDF} #${HTML}
.SUFFIXES: .tex .dvi .pdf .html
.SUFFIXES: .tex .dvi .pdf .ps .html
all: ${DVI} ${PDF} #${PS} ${HTML}
.tex.dvi:
latex -interaction=batchmode $<
latex -interaction=batchmode $<
.tex.pdf:
pdflatex $<
pdflatex $<
.dvi.ps:
dvips -o $@ $<
.tex.html:
latex2html $<
latex2html ${l2h_opts} $<
clean:
rm -f *.pdf *.dvi *.log *.aux *.out *.toc
rm -f *.pdf *.ps *.dvi *.log *.aux *.out *.toc
rm -rf guide_en