From: Tim Pope Date: Sun, 16 Nov 2003 18:49:51 +0000 (+0000) Subject: Fixed distclean target X-Git-Tag: stable~11 X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=commitdiff_plain;h=277e1b2ef3edf0d2eebca1f9a97c15b442dadd36 Fixed distclean target --- diff --git a/Makefile b/Makefile index 9a09208..ab16ecb 100644 --- a/Makefile +++ b/Makefile @@ -53,10 +53,8 @@ clean: 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)