Accomodated embedded bibliography
[latex-mlastyle.git] / Makefile
index 209f348f1c6164b603c2a17a078cbc11602fc1d2..9cbf84bf735bcf327447041e35148d359c3530e4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@ 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) $<
@@ -47,7 +48,7 @@ mlastyle.sty: mlastyle.ins mlastyle.dtx
 mlastyle.dvi: mlastyle.sty
 
 clean:
-       rm -f *.glo *.gls *.idx *.ilg *.ind *.toc *.log *.aux *.blg *.bbl *~
+       rm -f *.glo *.gls *.idx *.ilg *.ind *.toc *.log *.aux *.blg *.bib *.bbl *~
 
 distclean: clean
        rm -f mlastyle.sty mlastyle.dvi mlastyle.ps mlastyle.pdf
@@ -91,5 +92,6 @@ install: all
 
 instructions:
        @echo "Now run make install, or copy mlastyle.sty to a directory"
-       @echo "in the LaTeX search path."
+       @echo "in the LaTeX search path and mlastyle.bst to a directory."
+       @echo "in the BibTeX search path."