From 9715a77f990b7e25c456a20dc84992a3fe6d1001 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 16 Nov 2003 18:49:51 +0000 Subject: [PATCH] Fixed distclean target --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) -- 2.30.2