summaryrefslogtreecommitdiff
path: root/make/doc-i18n-root-vars.make
diff options
context:
space:
mode:
authorJohn Mandereau <john.mandereau@gmail.com>2009-07-30 02:17:00 +0200
committerJohn Mandereau <john.mandereau@gmail.com>2009-07-30 15:47:14 +0200
commita83a8b6e15a5cbbd94f0e6a7157457da0475c6d3 (patch)
treedb581c0e70b710c841eb244b5efdddef1d8e7006 /make/doc-i18n-root-vars.make
parent36be66b75b17ad2dcad2e15523bf6f295e4e8c84 (diff)
Translated docs: make distinction between splitted/non-splitted documents
Also fix spacing nits in other GNUmakefile.
Diffstat (limited to 'make/doc-i18n-root-vars.make')
-rw-r--r--make/doc-i18n-root-vars.make9
1 files changed, 7 insertions, 2 deletions
diff --git a/make/doc-i18n-root-vars.make b/make/doc-i18n-root-vars.make
index 5eaa432110..e838f36cba 100644
--- a/make/doc-i18n-root-vars.make
+++ b/make/doc-i18n-root-vars.make
@@ -14,8 +14,13 @@ OUT_PNG_IMAGES = \
TELY_FILES := $(call src-wildcard,*.tely)
MASTER_TEXI_FILES := $(TELY_FILES:%.tely=$(outdir)/%.texi)
-BIG_PAGE_HTML_FILES := $(TELY_FILES:%.tely=$(top-build-dir)/Documentation/$(outdir)/%-big-page.$(ISOLANG).html)
-DEEP_HTML_FILES := $(TELY_FILES:%.tely=$(top-build-dir)/Documentation/$(outdir)/%/index.$(ISOLANG).html)
+
+SPLITTED_HTML_MANUALS = $(foreach manual, $(TELY_FILES:%.tely=%),\
+ $(if $(findstring $(manual), $(UNSPLITTED_HTML_MANUALS)),,$(manual)))
+
+OUT_HTML_FILES += $(UNSPLITTED_HTML_MANUALS:%=$(top-build-dir)/Documentation/$(outdir)/%.$(ISOLANG).html)
+BIG_PAGE_HTML_FILES := $(SPLITTED_HTML_MANUALS:%=$(top-build-dir)/Documentation/$(outdir)/%-big-page.$(ISOLANG).html)
+DEEP_HTML_FILES := $(SPLITTED_HTML_MANUALS:%=$(top-build-dir)/Documentation/$(outdir)/%/index.$(ISOLANG).html)
PDF_FILES := $(TELY_FILES:%.tely=$(top-build-dir)/Documentation/$(outdir)/%.$(ISOLANG).pdf)
ITELY_FILES := $(call src-wildcard,*.itely)