]> granicus.if.org Git - python/commitdiff
Added clean and clobber targets.
authorFred Drake <fdrake@acm.org>
Thu, 14 Jan 1999 18:26:23 +0000 (18:26 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 14 Jan 1999 18:26:23 +0000 (18:26 +0000)
Doc/tools/sgmlconv/Makefile
Doc/tools/sgmlconv/make.rules

index 741671894071378acf7fac038f40c12160c12ab6..3574fea7cd86e7dfbc23e231c73b392b66e1661b 100644 (file)
@@ -27,3 +27,15 @@ xml:
            (cd $$DIR; \
             $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) xml) \
        done
+
+clean:
+       for DIR in $(SUBDIRS) ; do \
+           (cd $$DIR; \
+            $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) clean) \
+       done
+
+clobber:
+       for DIR in $(SUBDIRS) ; do \
+           (cd $$DIR; \
+            $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) clobber) \
+       done
index 17682547eb94386d01b6bfb8ae15e4c22faa15e5..7f74fd73faa77d3e62dae8555cece937ca2193af 100644 (file)
@@ -35,3 +35,10 @@ $(XMLTARGETS): $(ESIS2ML) $(FIXGES)
 
 .esis.xml:
        $(ESIS2ML) --xml $< | $(FIXGES) > $@
+
+
+clean:
+       rm -f *.esis
+
+clobber: clean
+       rm -f *.sgml *.xml