################################################################
ifeq ($(WEBSITE_ONLY_BUILD),1)
### for lilypond.org
- TOP_SRC_DIR=$(HOME)/src/lilypond
+ TOP_SRC_DIR=$(HOME)/lilypond/lilypond-git
TRUSTED_DIR=$(HOME)/lilypond/trusted-scripts
top-src-dir=$(TOP_SRC_DIR)
depth=.
OUT=out-website
### only update this when the language compiles correctly!
-WEB_LANGS = es fr nl
+# LANGUAGES = (site, de, es, fr, hu, it, ja, nl)
+WEB_LANGS = es fr it nl
TEXI2HTML=ONLY_WEB=1 TOP_SRC_DIR=$(top-src-dir) DEPTH=$(depth) PERL_UNICODE=SD $(TEXI2HTML_PROGRAM)
for l in '' $(WEB_LANGS); do \
if test -n "$$l"; then \
langopt=--lang="$$l"; \
+ langsuf=.$$l; \
fi; \
$(TEXI2HTML) --prefix=index \
--split=section \
-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 .$$l 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