mirror of https://github.com/python/cpython
Added clean and clobber targets.
This commit is contained in:
parent
54bad44f25
commit
a50a1df588
|
@ -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
|
||||
|
|
|
@ -35,3 +35,10 @@ $(XMLTARGETS): $(ESIS2ML) $(FIXGES)
|
|||
|
||||
.esis.xml:
|
||||
$(ESIS2ML) --xml $< | $(FIXGES) > $@
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.esis
|
||||
|
||||
clobber: clean
|
||||
rm -f *.sgml *.xml
|
||||
|
|
Loading…
Reference in New Issue