# HG changeset patch # User diego # Date 1231113874 0 # Node ID ded986da716f3f00eb94c52fe00d46f8118c6008 # Parent e8a6bde9ef9e47700454ed7862d09e8049402743 nonrecursive releaseclean target diff -r e8a6bde9ef9e -r ded986da716f DOCS/xml/Makefile --- a/DOCS/xml/Makefile Mon Jan 05 00:01:55 2009 +0000 +++ b/DOCS/xml/Makefile Mon Jan 05 00:04:34 2009 +0000 @@ -23,7 +23,6 @@ @echo "clean : Purge the 'HTML' and 'HTML-single' directories." @echo "releaseclean : Remove generated files but keep the HTML." @echo "distclean : Remove ALL generated files." - @echo "releaseclean-LANG : Remove generated files for one language." @echo "Substitute LANG for one of $(DOC_LANG_ALL)" html-chunked: xsltproc.sh xmllint.sh $(HTML_CHUNKED) $(addprefix html-chunked-,$(DOC_LANGS)) @@ -49,9 +48,6 @@ xmllint-$(1): xmllint.sh $(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) xmllint - -releaseclean-$(1): - $(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) distclean endef $(foreach lang, $(DOC_LANG_ALL),$(eval $(call lang-def,$(lang)))) @@ -59,7 +55,9 @@ clean: rm -rf $(HTML_CHUNKED) $(HTML_SINGLE) -releaseclean: $(addprefix releaseclean-,$(DOC_LANG_ALL)) +releaseclean: + rm -f $(foreach lang,$(DOC_LANG_ALL),$(lang)/main.xml) + rm -f $$(find . -name *.xml -type l) -rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh distclean: clean releaseclean diff -r e8a6bde9ef9e -r ded986da716f DOCS/xml/Makefile.inc --- a/DOCS/xml/Makefile.inc Mon Jan 05 00:01:55 2009 +0000 +++ b/DOCS/xml/Makefile.inc Mon Jan 05 00:04:34 2009 +0000 @@ -73,8 +73,4 @@ fi; \ done -distclean: - rm -f main.xml - rm -f `find *.xml -type l`; - -.PHONY: all html-chunked html-single xmllint distclean +.PHONY: all html-chunked html-single xmllint