blob: e2b201fa9b38a8a730525f8632289f84d434ee37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
LATEX = latex --interaction=nonstopmode
#-file-line-error-style
default: KrancDoc.ps
help:
@echo "Type make <file>.ps to build from latex source. Can also make <file>.pdf and <file>.html"
clean:
rm -rf *.{dvi,ps,aux,log,pdf}
%.dvi: %.tex
$(LATEX) $<
%.ps: %.dvi
dvips -o $@ $<
%.html: %.tex
latex2html -split 3 $<
%.pdf: %.tex
pdflatex $<
|