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
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
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
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
--- /dev/null
+default:
+
+local-WWW: $(OUT_HTML_FILES)
+ $(PYTHON) $(buildscript-dir)/mass-link.py --prepend-suffix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) $(HTML_FILES)
--- /dev/null
+HTML_PAGE_NAMES = index translations
+HTML_FILES = $(HTML_PAGE_NAMES:%=%.html)
+OUT_HTML_FILES = $(HTML_PAGE_NAMES:%=$(outdir)/%.html)