From 4b45037667d9abaa3e566e2d7cc2dd45e91d7f80 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 12 Jan 2007 21:10:55 +0100 Subject: [PATCH] Don't run bibtex if there are no citations. --- Makerules | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makerules b/Makerules index 4db4413..5016830 100644 --- a/Makerules +++ b/Makerules @@ -1,10 +1,7 @@ all: $P.ps %.dvi: %.tex ../sgr.tex ../ga.bib - csplain $< - bibtex $* - csplain $< - csplain $< # BibTeX requires 3 passes of TeXing! + csplain $< && if grep -q citation $*.aux ; then bibtex $* && csplain $< && csplain $< ; fi %.pdf: %.tex ../sgr.tex pdfcsplain $< -- 2.39.2