]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/website.make
Merge branch 'lilypond/translation'
[lilypond.git] / make / website.make
index fbcdc0d81fdcfdb3c41a18f60b01e6a87e3fe72d..c6c2c3e343b826e7004847d029a5b3bc64fef201 100644 (file)
@@ -36,7 +36,7 @@ OUT=out-website
 
 ### only update this when the language compiles correctly!
 # LANGUAGES = (site, de, es, fr, hu, it, ja, nl)
-WEB_LANGS = es fr nl
+WEB_LANGS = es fr it nl
 
 TEXI2HTML=ONLY_WEB=1 TOP_SRC_DIR=$(top-src-dir) DEPTH=$(depth) PERL_UNICODE=SD $(TEXI2HTML_PROGRAM)
 
@@ -45,6 +45,7 @@ CREATE_VERSION=python $(script-dir)/create-version-itexi.py
 CREATE_WEBLINKS=python $(script-dir)/create-weblinks-itexi.py
 MASS_LINK=python $(script-dir)/mass-link.py
 WEB_POST=python $(script-dir)/website_post.py
+WEB_BIBS=python $(script-dir)/bib2texi.py
 
 SERVER_FILES=$(top-src-dir)/Documentation/web/server/
 
@@ -81,9 +82,18 @@ website-xrefs: website-version
                done; \
        done;
 
+website-bibs: website-version
+       BSTINPUTS=$(top-src-dir)/Documentation/web/ \
+               $(WEB_BIBS) -s web \
+               -o $(OUT)/others-did.itexi \
+               $(top-src-dir)/Documentation/web/others-did.bib
+       BSTINPUTS=$(top-src-dir)/Documentation/web/ \
+               $(WEB_BIBS) -s web \
+               -o $(OUT)/we-wrote.itexi \
+               $(top-src-dir)/Documentation/web/we-wrote.bib
 
 
-website-texinfo: website-version website-xrefs
+website-texinfo: website-version website-xrefs website-bibs
        for l in '' $(WEB_LANGS); do \
                if test -n "$$l"; then \
                        langopt=--lang="$$l"; \
@@ -99,7 +109,7 @@ website-texinfo: website-version website-xrefs
                        -D web_version \
                        --output=$(OUT)/"$$l" \
                        $(top-src-dir)/Documentation/"$$l"/web.texi ; \
-               find $(OUT)/$$l/ -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGNORE ME' | sed 's!$(OUT)/'$$l'/!!g' | xargs $(MASS_LINK) --prepend-suffix="$$langsuf" hard $(OUT)/$$l/ $(OUT)/website/ ; \
+               ls $(OUT)/$$l/*.html | xargs grep -L 'UNTRANSLATED NODE: IGNORE ME' | sed 's!$(OUT)/'$$l'/!!g' | xargs $(MASS_LINK) --prepend-suffix="$$langsuf" hard $(OUT)/$$l/ $(OUT)/website/ ; \
        done