X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=make%2Fwebsite.make;h=ba646b22848cbcc40548c1b7b965c9ef62041331;hb=95f39bf3a82cad3b0048846ebf5a911354539e37;hp=62ca4b803d71f74d40d5a68c1db593c7428f1903;hpb=c75e554c93a26d28bf58fb41a5cfbaf13eec115d;p=lilypond.git diff --git a/make/website.make b/make/website.make index 62ca4b803d..ba646b2284 100644 --- a/make/website.make +++ b/make/website.make @@ -19,6 +19,8 @@ ifeq ($(WEBSITE_ONLY_BUILD),1) TEXI2HTML_PROGRAM=$(HOME)/usr/bin/texi2html EXAMPLES=$(HOME)/lilypond/media/ly-examples PICTURES=$(HOME)/lilypond/media/pictures + PYTHON=python + PYTHONPATH=$(TRUSTED_DIR) else ### for normal git script-dir=$(top-src-dir)/scripts/build @@ -49,15 +51,10 @@ ifeq ($(quiet-run),true) quiet-flag=-q endif - - ################################################################ OUT=out-website -### only update this when the language compiles correctly! -# LANGUAGES = (site, cs, de, es, fr, hu, it, ja, nl, zh) -#WEB_LANGS = de es fr hu it ja nl zh cs -WEB_LANGS = cs de es fr hu it ja nl zh +WEB_LANGS = $(shell MAKEWEB=1 $(PYTHON) $(top-src-dir)/python/langdefs.py) TEXI2HTML=ONLY_WEB=1 TOP_SRC_DIR=$(top-src-dir) DEPTH=$(depth) PERL_UNICODE=SD $(TEXI2HTML_PROGRAM)