Added clean and clobber targets.

This commit is contained in:
Fred Drake 1999-01-14 18:26:23 +00:00
parent 54bad44f25
commit a50a1df588
2 changed files with 19 additions and 0 deletions

View File

@ -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

View File

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