From: Tim Pope Date: Sun, 16 Nov 2003 18:49:51 +0000 (+0000) Subject: Fixed distclean target X-Git-Url: http://git.tpope.net/?p=latex-mlastyle.git;a=commitdiff_plain;h=9715a77f990b7e25c456a20dc84992a3fe6d1001;hp=ece8137cc97412ad0da1a7a5f20ef948edcd11dc 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)