[MPlayer-DOCS] r22485 - trunk/DOCS/xml/Makefile
diego
subversion at mplayerhq.hu
Wed Mar 7 13:41:04 CET 2007
Author: diego
Date: Wed Mar 7 13:41:03 2007
New Revision: 22485
Modified:
trunk/DOCS/xml/Makefile
Log:
Merge all .PHONY target declarations.
Modified: trunk/DOCS/xml/Makefile
==============================================================================
--- trunk/DOCS/xml/Makefile (original)
+++ trunk/DOCS/xml/Makefile Wed Mar 7 13:41:03 2007
@@ -9,10 +9,8 @@ HTML_CHUNKED = ../HTML
# Generated single HTML files go here.
HTML_SINGLE = ../HTML-single
-.PHONY: all
all: html-chunked html-single
-.PHONY: help
help:
@echo "Targets:"
@echo "********"
@@ -33,28 +31,22 @@ help:
@echo "distclean-LANG : Remove ALL generated files for one language."
@echo "Substitute LANG for one of $(SUBDIRS)"
-.PHONY: html-chunked chunked-dir
html-chunked: xsltproc.sh xmllint.sh chunked-dir $(addprefix html-chunked-,$(SUBDIRS))
chunked-dir:
-mkdir -p $(HTML_CHUNKED)
-.PHONY: html-single single-dir
html-single: xsltproc.sh xmllint.sh single-dir $(addprefix html-single-,$(SUBDIRS))
single-dir:
-mkdir -p $(HTML_SINGLE)
-.PHONY: xmllint
xmllint: xmllint.sh $(addprefix xmllint-,$(SUBDIRS))
-.PHONY: clean-html-chunked
clean-html-chunked:
-rm -rf $(HTML_CHUNKED)
-.PHONY: clean-html-single
clean-html-single:
-rm -rf $(HTML_SINGLE)
-.PHONY: releaseclean distclean clean
releaseclean: $(addprefix releaseclean-,$(SUBDIRS))
-rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh
@@ -66,8 +58,6 @@ xsltproc.sh xmllint.sh:
clean: clean-html-chunked clean-html-single
define lang-def
-.PHONY: html-chunked-$(1) html-single-$(1) xmllint-$(1) \
- distclean-$(1) releaseclean-$(1) clean-$(1)
html-chunked-$(1): xsltproc.sh xmllint.sh chunked-dir
-(mkdir -p $(HTML_CHUNKED)/$(1))
$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked
@@ -89,3 +79,6 @@ releaseclean-$(1):
endef
$(foreach lang, $(SUBDIRS),$(eval $(call lang-def,$(lang))))
+
+.PHONY: all help html-chunked* chunked-dir html-single* single-dir xmllint*
+.PHONY: clean-html-chunked clean-html-single releaseclean* distclean* clean*
More information about the MPlayer-DOCS
mailing list