[gnomemm-website] [l10n] Added support for creation of German HTML files
- From: Mario Blättermann <mariobl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomemm-website] [l10n] Added support for creation of German HTML files
- Date: Sat, 1 Jan 2011 13:47:55 +0000 (UTC)
commit 97731c7fe305ded62570e34bed36a3b21a70a0f2
Author: Mario Blättermann <mariobl gnome org>
Date: Sat Jan 1 14:47:46 2011 +0100
[l10n] Added support for creation of German HTML files
docs/Makefile.am | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 5be0ad2..2d45dde 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -32,7 +32,9 @@ DOC_INCLUDES = \
DOC_LINGUAS = de es zh_CN
-MAINTAINERCLEANFILES = html/en/*.html $(srcdir)/html/en/*.html
+MAINTAINERCLEANFILES = html/en/*.html $(srcdir)/html/en/*.html \
+ html/zh_CN/*.html $(srcdir)/html/zh_CN/*.html \
+ html/de/*.html $(srcdir)/html/de/*.html
tutorialdir = $(gnomemmwebsite_docdir)/tutorial
tutorial_htmldir = $(tutorialdir)/html
@@ -58,7 +60,7 @@ dist_tutorial_icons_DATA =
include $(top_srcdir)/build/gnome-doc-utils.make
-all-local: $(DOC_LINGUAS) $(addsuffix /gnomemm-website.xml,C $(DOC_LINGUAS)) html/en/index.html html/zh_CN/index.html
+all-local: $(DOC_LINGUAS) $(addsuffix /gnomemm-website.xml,C $(DOC_LINGUAS)) html/en/index.html html/zh_CN/index.html html/de/index.html
$(DOC_LINGUAS):
@$(MKDIR_P) $@
@@ -77,6 +79,12 @@ html/zh_CN/index.html: $(addprefix $(srcdir)/zh_CN/,$(doc_module_with_ext) $(DOC
$(AM_V_at)$(MKDIR_P) html/$(thelocale)
$(AM_V_GEN)$(XSLTPROC) -o html/$(thelocale)/ --xinclude param.xsl $(srcdir)/$(thelocale)/$(doc_module_with_ext)
+html/de/index.html: $(addprefix $(srcdir)/de/,$(doc_module_with_ext) $(DOC_INCLUDES))
+ thelocale=zh_CN
+ $(AM_V_at)rm -fr html/$(thelocale)
+ $(AM_V_at)$(MKDIR_P) html/$(thelocale)
+ $(AM_V_GEN)$(XSLTPROC) -o html/$(thelocale)/ --xinclude param.xsl $(srcdir)/$(thelocale)/$(doc_module_with_ext)
+
validate: $(addprefix $(srcdir)/C/,$(doc_module_with_ext) $(DOC_INCLUDES))
$(XMLLINT) --xinclude --postvalid --noout $<
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]