summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 00:04:34 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-01-05 00:04:34 +0000
commit5b27b4d5d1e18a669e7d9e79bf43a9795c5fe260 (patch)
tree41564cdf6f37afb71b8dee3075a49ff70290a585 /DOCS
parent61aa41b303e4f88d351f16149e5c420365fdaa74 (diff)
downloadmpv-5b27b4d5d1e18a669e7d9e79bf43a9795c5fe260.tar.bz2
mpv-5b27b4d5d1e18a669e7d9e79bf43a9795c5fe260.tar.xz
nonrecursive releaseclean target
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28256 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/xml/Makefile8
-rw-r--r--DOCS/xml/Makefile.inc6
2 files changed, 4 insertions, 10 deletions
diff --git a/DOCS/xml/Makefile b/DOCS/xml/Makefile
index d79a0f8b49..29042840d2 100644
--- a/DOCS/xml/Makefile
+++ b/DOCS/xml/Makefile
@@ -23,7 +23,6 @@ help:
@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 @@ html-single-$(1): xsltproc.sh xmllint.sh $(HTML_SINGLE)
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 @@ $(foreach lang, $(DOC_LANG_ALL),$(eval $(call lang-def,$(lang))))
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 --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index 132ac3b3a1..c7c3252240 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -73,8 +73,4 @@ $(filter-out main.xml, $(patsubst ../en/%,%, $(wildcard ../en/*.xml))):
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