summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/bibtex/ijqc/makefile
blob: a533c8856676dea62511e02aaff60867ad69c709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.SUFFIXES: .ps .dvi .tex .pdf .gz .eps

.dvi.ps :
	dvips -K -t letter $*
	gv $@

.tex.ps :
	make $*.dvi
	make $*.ps

.tex.pdf :
	pdflatex $*
	- while  ( fgrep -s Rerun $*.log ) ; do \
	pdflatex $* ; \
	done

.tex.dvi :
	- until ( latex $* ) ; do \
	continue ; \
	done
	- while  ( fgrep -s 'No file $*' $*.log ) ; do \
	latex $* ; \
	done
	- while  ( fgrep -s Rerun $*.log ) ; do \
	latex $* ; \
	done

all: xampl.pdf
	acroread -geometry 700x1000 $<

xampl.pdf: xampl.bbl
	pdflatex xampl
	- while  ( fgrep -s Rerun $*.log ) ; do \
	pdflatex xampl ; \
	done

xampl.bbl: xampl.tex mybib.bib
	# latex xampl
	pdflatex xampl
	bibtex -terse xampl

xampl.ps: xampl.dvi xampl.bbl

clean:
	rm *.bbl *.blg *.dvi *.aux *.log xampl.ps