comparison DOCS/xml/Makefile @ 31517:2945ef80a0ad

Remove help target that prints available targets. The Makefile should now be simple enough to understand without it.
author diego
date Mon, 28 Jun 2010 16:45:47 +0000
parents f5b66007c5e1
children 70e6cffc6bb9
comparison
equal deleted inserted replaced
31516:a80ae9c48a0f 31517:2945ef80a0ad
8 8
9 MAIN_XML_ALL = $(foreach lang,$(DOC_LANG_ALL),$(lang)/main.xml) 9 MAIN_XML_ALL = $(foreach lang,$(DOC_LANG_ALL),$(lang)/main.xml)
10 CONFIGURE_GENERATED = html-chunk.xsl html-single.xsl xml.mak 10 CONFIGURE_GENERATED = html-chunk.xsl html-single.xsl xml.mak
11 11
12 all: html-chunked html-single 12 all: html-chunked html-single
13
14 help:
15 @echo "Targets:"
16 @echo "********"
17 @echo "all : Build everything for configured languages (default)."
18 @echo "html-single : HTML documentation for configured languages (single file)"
19 @echo "html-single-LANG : As above, but only one language."
20 @echo "html-chunked : HTML documentation for configured languages (multiple files)"
21 @echo "html-chunked-LANG : As above, but only one language."
22 @echo "xmllint : Check syntax of XML files for configured languages."
23 @echo "xmllint-LANG : Check syntax of LANG XML files."
24 @echo "clean : Purge the 'HTML' directory."
25 @echo "releaseclean : Remove generated files but keep the HTML."
26 @echo "distclean : Remove ALL generated files."
27 @echo "Substitute LANG for one of $(DOC_LANG_ALL)"
28 13
29 html-chunked: $(addprefix html-chunked-,$(DOC_LANGS)) 14 html-chunked: $(addprefix html-chunked-,$(DOC_LANGS))
30 html-single: $(addprefix html-single-,$(DOC_LANGS)) 15 html-single: $(addprefix html-single-,$(DOC_LANGS))
31 16
32 xmllint: $(addprefix xmllint-,$(DOC_LANGS)) 17 xmllint: $(addprefix xmllint-,$(DOC_LANGS))
56 $(foreach lang, $(DOC_LANG_ALL),$(eval $(lang-def))) 41 $(foreach lang, $(DOC_LANG_ALL),$(eval $(lang-def)))
57 42
58 clean: 43 clean:
59 -rm -rf $(HTML) 44 -rm -rf $(HTML)
60 45
46 # Remove generated files but keep the HTML (for release tarballs).
61 releaseclean: 47 releaseclean:
62 -rm -f $(CONFIGURE_GENERATED) 48 -rm -f $(CONFIGURE_GENERATED)
63 -rm -f $(MAIN_XML_ALL) 49 -rm -f $(MAIN_XML_ALL)
64 50
65 distclean: clean releaseclean 51 distclean: clean releaseclean
66 52
67 .PHONY: all help html-chunked html-single xmllint 53 .PHONY: all html-chunked html-single xmllint
68 .PHONY: html-chunked-* html-single-* xmllint-* *clean 54 .PHONY: html-chunked-* html-single-* xmllint-* *clean