From a50a1df588fced269b4785615aea909289efa6e4 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 14 Jan 1999 18:26:23 +0000 Subject: Added clean and clobber targets. --- Doc/tools/sgmlconv/Makefile | 12 ++++++++++++ Doc/tools/sgmlconv/make.rules | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/Doc/tools/sgmlconv/Makefile b/Doc/tools/sgmlconv/Makefile index 7416718..3574fea 100644 --- a/Doc/tools/sgmlconv/Makefile +++ b/Doc/tools/sgmlconv/Makefile @@ -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 diff --git a/Doc/tools/sgmlconv/make.rules b/Doc/tools/sgmlconv/make.rules index 1768254..7f74fd7 100644 --- a/Doc/tools/sgmlconv/make.rules +++ b/Doc/tools/sgmlconv/make.rules @@ -35,3 +35,10 @@ $(XMLTARGETS): $(ESIS2ML) $(FIXGES) .esis.xml: $(ESIS2ML) --xml $< | $(FIXGES) > $@ + + +clean: + rm -f *.esis + +clobber: clean + rm -f *.sgml *.xml -- cgit v0.12