From a50a1df588fced269b4785615aea909289efa6e4 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 14 Jan 1999 18:26:23 +0000 Subject: [PATCH] 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 741671894071..3574fea7cd86 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 17682547eb94..7f74fd73faa7 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 -- 2.47.3