summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/bibtex/ijqc/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/bibtex/ijqc/makefile')
-rw-r--r--Master/texmf-dist/doc/bibtex/ijqc/makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/bibtex/ijqc/makefile b/Master/texmf-dist/doc/bibtex/ijqc/makefile
new file mode 100644
index 00000000000..a533c885667
--- /dev/null
+++ b/Master/texmf-dist/doc/bibtex/ijqc/makefile
@@ -0,0 +1,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