mirror of https://github.com/mpv-player/mpv
releaseclean should now work as expected, crate of Coke going in my direction.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15172 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3fc7ada691
commit
7a745b6560
|
@ -28,6 +28,8 @@ help:
|
||||||
@echo "clean : Purge the 'HTML' and 'HTML-single' directories."
|
@echo "clean : Purge the 'HTML' and 'HTML-single' directories."
|
||||||
@echo "releaseclean : Remove generated files but keep the HTML."
|
@echo "releaseclean : Remove generated files but keep the HTML."
|
||||||
@echo "distclean : Remove ALL generated files."
|
@echo "distclean : Remove ALL generated files."
|
||||||
|
@echo "clean-LANG : Remove HTML files for one language."
|
||||||
|
@echo "releaseclean-LANG : Remove generated files for one language."
|
||||||
@echo "distclean-LANG : Remove ALL generated files for one language."
|
@echo "distclean-LANG : Remove ALL generated files for one language."
|
||||||
@echo "Substitute LANG for one of $(SUBDIRS)"
|
@echo "Substitute LANG for one of $(SUBDIRS)"
|
||||||
|
|
||||||
|
@ -53,7 +55,7 @@ clean-html-single:
|
||||||
-rm -rf $(HTML_SINGLE)
|
-rm -rf $(HTML_SINGLE)
|
||||||
|
|
||||||
.PHONY: releaseclean distclean clean
|
.PHONY: releaseclean distclean clean
|
||||||
releaseclean: $(addprefix distclean-,$(SUBDIRS))
|
releaseclean: $(addprefix releaseclean-,$(SUBDIRS))
|
||||||
-rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh
|
-rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh
|
||||||
|
|
||||||
distclean: clean releaseclean
|
distclean: clean releaseclean
|
||||||
|
@ -64,7 +66,8 @@ xsltproc.sh xmllint.sh:
|
||||||
clean: clean-html-chunked clean-html-single
|
clean: clean-html-chunked clean-html-single
|
||||||
|
|
||||||
define lang-def
|
define lang-def
|
||||||
.PHONY: html-chunked-$(1) html-single-$(1) xmllint-$(1) distclean-$(1)
|
.PHONY: html-chunked-$(1) html-single-$(1) xmllint-$(1) \
|
||||||
|
distclean-$(1) releaseclean-$(1) clean-$(1)
|
||||||
html-chunked-$(1): xsltproc.sh xmllint.sh chunked-dir
|
html-chunked-$(1): xsltproc.sh xmllint.sh chunked-dir
|
||||||
(test -d $(HTML_CHUNKED)/$(1) || mkdir $(HTML_CHUNKED)/$(1))
|
(test -d $(HTML_CHUNKED)/$(1) || mkdir $(HTML_CHUNKED)/$(1))
|
||||||
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked
|
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked
|
||||||
|
@ -76,8 +79,12 @@ html-single-$(1): xsltproc.sh xmllint.sh single-dir
|
||||||
xmllint-$(1): xmllint.sh
|
xmllint-$(1): xmllint.sh
|
||||||
$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) xmllint
|
$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) xmllint
|
||||||
|
|
||||||
distclean-$(1):
|
distclean-$(1): clean-$(1) releaseclean-$(1)
|
||||||
|
|
||||||
|
clean-$(1):
|
||||||
-rm -rf $(HTML_SINGLE)/$(1) $(HTML_CHUNKED)/$(1)
|
-rm -rf $(HTML_SINGLE)/$(1) $(HTML_CHUNKED)/$(1)
|
||||||
|
|
||||||
|
releaseclean-$(1):
|
||||||
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) distclean
|
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) distclean
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue