Moved bibtex command to index section
authorTim Pope <code@tpope.net>
Sun, 16 Nov 2003 03:14:45 +0000 (03:14 +0000)
committerTim Pope <code@tpope.net>
Sun, 16 Nov 2003 03:14:45 +0000 (03:14 +0000)
Makefile

index cc266dbfd2c76fb26a12750460bdf4fc7dd99423..9ac3430c32a552cb95c565016d19d5b61a760806 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,12 +18,12 @@ FAKEROOT=`[ -x /usr/bin/fakeroot ] && echo /usr/bin/fakeroot`
 %.ind: %.idx
        $(MAKEINDEX) -s gglo.ist -o $*.gls $*.glo
        $(MAKEINDEX) -s gind.ist -o $*.ind $*.idx
+       [ ! -f $*.bib ] || bibtex $*.aux
 
 %.idx: %.dtx
        $(LATEX) $<
 
 %.dvi: %.sty %.dtx %.ind
-       [ ! -f $*.bib ] || bibtex $*.aux
        $(LATEX) $*.dtx
        $(LATEX) $*.dtx