From: John Mandereau Date: Sat, 9 Aug 2008 20:46:57 +0000 (+0200) Subject: Add translations status pages to the docball X-Git-Tag: release/2.11.56-1~2^2~34 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dcfba9833e2698c689e72194024ee0db5a87f9cd;p=lilypond.git Add translations status pages to the docball - rewrite HTML prerequisites as a list, - create doc-i18n-root local stepmake template. --- diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 15b6a6f297..d265a1ee96 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -6,14 +6,17 @@ SUBDIRS=user bibliography pictures topdocs misc po $(LANGS) STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly LILYPOND_BOOK_FLAGS=--extra-options '-e "(ly:set-option (quote internal-type-checking) \#t)"' -README_TOP_FILES= DEDICATION THANKS +README_TOP_FILES= DEDICATION THANKS EXTRA_DIST_FILES= texinfo.css TRANSLATION include $(depth)/make/stepmake.make +HTML_PAGE_NAMES= index devel translations +OUT_HTML_FILES= $(HTML_PAGE_NAMES:%=$(outdir)/%.html) + default: local-doc -local-WWW: txt-to-html $(outdir)/index.html $(outdir)/devel.html +local-WWW: txt-to-html $(OUT_HTML_FILES) local-WWW-clean: deep-WWW-clean diff --git a/Documentation/de/GNUmakefile b/Documentation/de/GNUmakefile index eee4de1f51..8acbe9e78c 100644 --- a/Documentation/de/GNUmakefile +++ b/Documentation/de/GNUmakefile @@ -2,10 +2,6 @@ ISOLANG = de depth = ../.. SUBDIRS = user STEPMAKE_TEMPLATES = documentation +LOCALSTEPMAKE_TEMPLATES = doc-i18n-root include $(depth)/make/stepmake.make - -local-WWW: lang-merge - -lang-merge: $(outdir)/index.html - ln -f $(outdir)/index.html $(depth)/Documentation/$(outdir)/index.$(ISOLANG).html diff --git a/Documentation/es/GNUmakefile b/Documentation/es/GNUmakefile index bc58051120..90e3f678e9 100644 --- a/Documentation/es/GNUmakefile +++ b/Documentation/es/GNUmakefile @@ -2,10 +2,6 @@ ISOLANG = es depth = ../.. SUBDIRS = user STEPMAKE_TEMPLATES = documentation +LOCALSTEPMAKE_TEMPLATES = doc-i18n-root include $(depth)/make/stepmake.make - -local-WWW: lang-merge - -lang-merge: $(outdir)/index.html - ln -f $(outdir)/index.html $(depth)/Documentation/$(outdir)/index.$(ISOLANG).html diff --git a/Documentation/fr/GNUmakefile b/Documentation/fr/GNUmakefile index 003d9c02bd..ad17d7e4cc 100644 --- a/Documentation/fr/GNUmakefile +++ b/Documentation/fr/GNUmakefile @@ -2,10 +2,6 @@ ISOLANG = fr depth = ../.. SUBDIRS = user STEPMAKE_TEMPLATES = documentation +LOCALSTEPMAKE_TEMPLATES = doc-i18n-root include $(depth)/make/stepmake.make - -local-WWW: lang-merge - -lang-merge: $(outdir)/index.html - ln -f $(outdir)/index.html $(depth)/Documentation/$(outdir)/index.$(ISOLANG).html diff --git a/make/doc-i18n-root-rules.make b/make/doc-i18n-root-rules.make new file mode 100644 index 0000000000..1bb8bf6d7f --- /dev/null +++ b/make/doc-i18n-root-rules.make @@ -0,0 +1 @@ +# empty diff --git a/make/doc-i18n-root-targets.make b/make/doc-i18n-root-targets.make new file mode 100644 index 0000000000..4e917c5da0 --- /dev/null +++ b/make/doc-i18n-root-targets.make @@ -0,0 +1,4 @@ +default: + +local-WWW: $(OUT_HTML_FILES) + $(PYTHON) $(buildscript-dir)/mass-link.py --prepend-suffix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) $(HTML_FILES) diff --git a/make/doc-i18n-root-vars.make b/make/doc-i18n-root-vars.make new file mode 100644 index 0000000000..fdf8664263 --- /dev/null +++ b/make/doc-i18n-root-vars.make @@ -0,0 +1,3 @@ +HTML_PAGE_NAMES = index translations +HTML_FILES = $(HTML_PAGE_NAMES:%=%.html) +OUT_HTML_FILES = $(HTML_PAGE_NAMES:%=$(outdir)/%.html)