diff options
author | Fred Drake <fdrake@acm.org> | 1999-01-14 18:26:23 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-01-14 18:26:23 (GMT) |
commit | a50a1df588fced269b4785615aea909289efa6e4 (patch) | |
tree | 09e7f1b592d9e5ca731d7b4c4b9f08828509f2ee | |
parent | 54bad44f254848ae92a63ffadf9284d2e7f759e3 (diff) | |
download | cpython-a50a1df588fced269b4785615aea909289efa6e4.zip cpython-a50a1df588fced269b4785615aea909289efa6e4.tar.gz cpython-a50a1df588fced269b4785615aea909289efa6e4.tar.bz2 |
Added clean and clobber targets.
-rw-r--r-- | Doc/tools/sgmlconv/Makefile | 12 | ||||
-rw-r--r-- | Doc/tools/sgmlconv/make.rules | 7 |
2 files changed, 19 insertions, 0 deletions
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 |