diff DOCS/xml/Makefile @ 22467:7336cfb3b88f

Merge all .PHONY target declarations.
author diego
date Wed, 07 Mar 2007 12:41:03 +0000
parents 103aec16f9c4
children 2f3c7788aac4
line wrap: on
line diff
--- a/DOCS/xml/Makefile	Wed Mar 07 09:19:36 2007 +0000
+++ b/DOCS/xml/Makefile	Wed Mar 07 12:41:03 2007 +0000
@@ -9,10 +9,8 @@
 # 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 @@
 	@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 @@
 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 @@
 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*