view xml/cn/GNUmakefile @ 606:cb43695220b2

o Move introduction/ and howto/ are rather small so move those sections into docs/. o Rename "nginx: faq" article and its lang-specific variations to "FAQ".
author Maxim Konovalov <maxim@nginx.com>
date Tue, 24 Jul 2012 10:18:38 +0000
parents 149f54c158f0
children 8afb4cbc63bb
line wrap: on
line source

DOC_LANG =	cn

DOCS =									\
		faq							\
		windows							\
		http/request_processing					\
		http/server_names					\
		http/configuring_https_servers				\
		debugging_log						\
		http/converting_rewrite_rules				\

DOCS_XML =	$(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml)
DOCS_HTML =	$(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html)

FAQ =									\
		welcome_nginx_facebook					\
		sys_errlist						\

FAQ_XML =	$(foreach name, $(FAQ), xml/$(DOC_LANG)/docs/$(name).xml)
FAQ_HTML =	$(foreach name, $(FAQ), $(OUT)/$(DOC_LANG)/docs/$(name).html)

$(DOC_LANG):								\
		$(OUT)/$(DOC_LANG)/index.html				\
		$(OUT)/$(DOC_LANG)/docs/index.html			\
		$(DOCS_HTML)						\
		$(INTRO_HTML)						\
		$(HOWTO_HTML)						\
		$(FAQ_HTML)						\

$(OUT)/$(DOC_LANG)/docs/index.html:					\
		$(DOCS_XML)						\

$(OUT)/$(DOC_LANG)/docs/faq.html:					\
		$(FAQ_XML)						\