From: John Mandereau Date: Tue, 3 Jul 2007 22:16:43 +0000 (+0200) Subject: Merge translated docs ly snippets into user/out-www X-Git-Tag: release/2.11.28-1~40 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ee03fef4385155e42791002ae5037afb5ad88455;p=lilypond.git Merge translated docs ly snippets into user/out-www This allows ly snippets present in a translated manual but not in the English manual to show in HTML manual. Such ly snippets are either the result of an outdated translation or the choice of a translator; snippets in first case can be updated automatically (look for snippet-update in Documentation/TRANSLATION), and the number of snippets in second case can be estimated by greping '@c KEEP LY' in translated .itely's. --- diff --git a/make/doclang-targets.make b/make/doclang-targets.make index c585ab01ab..ec5ac2bd22 100644 --- a/make/doclang-targets.make +++ b/make/doclang-targets.make @@ -30,6 +30,8 @@ $(outdir)/%.pdf: $(outdir)/%.texi $(outdir)/user-ln doc-po local-WWW: $(outdir)/lilypond.pdf $(outdir)/lilypond/index.html cd $(outdir); find -name '*.html' | xargs grep -L --label="" 'UNTRANSLATED NODE: IGNORE ME' | xargs $(PYTHON) ../$(buildscript-dir)/mass-link.py --prepend-suffix .$(ISOLANG) hard . $(top-build-dir)/Documentation/user/$(outdir) lilypond.pdf + cd $(outdir); find \( -name 'lily-??????????.png' -o -name 'lily-??????????.ly' \) -a -not -type l | xargs $(PYTHON) ../$(buildscript-dir)/mass-link.py hard . $(top-build-dir)/Documentation/user/$(outdir) +# FIXME # ugh, this is not enough to avoid wasting build time, $(outdir)/user-ln should be touched for all languages touch -mr $(top-build-dir)/Documentation/user/$(outdir) $(outdir)/user-ln