Hack to put bibliography on a new page
[latex-mlastyle.git] / Makefile
index ab16ecb886c3003f704dda449ecedbce732c5ed1..c6fa6c751629dc137a172440a4c1820ffb05d43a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,6 @@ FAKEROOT=`[ -x /usr/bin/fakeroot ] && echo /usr/bin/fakeroot`
 
 %.bbl: %.bib
        $(BIBTEX) $*.aux
-       $(MAKEINDEX) -s gglo.ist -o $*.gls $*.glo
-       $(MAKEINDEX) -s gind.ist -o $*.ind $*.idx
 
 %.bib: %.dtx
        $(LATEX) $<
@@ -30,6 +28,9 @@ FAKEROOT=`[ -x /usr/bin/fakeroot ] && echo /usr/bin/fakeroot`
 %.dvi: %.sty %.dtx %.bbl
        $(LATEX) $*.dtx
        $(LATEX) $*.dtx
+       $(MAKEINDEX) -s gglo.ist -o $*.gls $*.glo
+       $(MAKEINDEX) -s gind.ist -o $*.ind $*.idx
+       $(LATEX) $*.dtx
 
 %.ps: %.dvi
        $(DVIPS) -o $@ $<