summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tools/sgmlconv/Makefile12
-rw-r--r--Doc/tools/sgmlconv/make.rules7
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