Commits

Fred Drake committed de41e8d

Added clean and clobber targets.

Comments (0)

Files changed (2)

Doc/tools/sgmlconv/Makefile

 	    (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

Doc/tools/sgmlconv/make.rules

 
 .esis.xml:
 	$(ESIS2ML) --xml $< | $(FIXGES) > $@
+
+
+clean:
+	rm -f *.esis
+
+clobber: clean
+	rm -f *.sgml *.xml