%.bbl: %.bib
$(BIBTEX) $*.aux
- $(MAKEINDEX) -s gglo.ist -o $*.gls $*.glo
- $(MAKEINDEX) -s gind.ist -o $*.ind $*.idx
%.bib: %.dtx
$(LATEX) $<
%.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 $@ $<
distclean: clean
rm -f mlastyle.sty mlastyle.dvi mlastyle.ps mlastyle.pdf
- rm -rf $(LTXDIR) $(DOCDIR) $(SRCDIR) $(BSTDIR)
- rmdir `dirname $(LTXDIR)` `dirname $(DOCDIR)`
- rmdir `dirname $(SRCDIR)` `dirname $(BSTDIR)`
- rmdir tex doc source bibtex
+ rm -rf $(LTXDIR)/* $(DOCDIR)/* $(SRCDIR)/* $(BSTDIR)/*
+ [ ! -d $(LTXDIR) ] || rmdir -p $(LTXDIR) $(DOCDIR) $(SRCDIR) $(BSTDIR)
tar: mlastyle.sty mlastyle.dvi clean
mkdir mlastyle-$(VERSION)