summaryrefslogtreecommitdiff
path: root/make/website.make
diff options
context:
space:
mode:
authorPhil Holmes <mail@philholmes.net>2011-09-14 16:57:41 +0100
committerPhil Holmes <mail@philholmes.net>2011-09-15 10:49:54 +0100
commita04d1cb5153717523cdafe23faeb2166571603da (patch)
tree5f2ba5fe5cdb5530ce8fa7c2518654ef1b80c6bd /make/website.make
parent8ca51c229f5114093e6b8fe1f409ab13c49673e0 (diff)
Uses langdefs.py for make website
Diffstat (limited to 'make/website.make')
-rw-r--r--make/website.make8
1 files changed, 2 insertions, 6 deletions
diff --git a/make/website.make b/make/website.make
index 62ca4b803d..e84a216486 100644
--- a/make/website.make
+++ b/make/website.make
@@ -19,6 +19,7 @@ ifeq ($(WEBSITE_ONLY_BUILD),1)
TEXI2HTML_PROGRAM=$(HOME)/usr/bin/texi2html
EXAMPLES=$(HOME)/lilypond/media/ly-examples
PICTURES=$(HOME)/lilypond/media/pictures
+ PYTHON=python
else
### for normal git
script-dir=$(top-src-dir)/scripts/build
@@ -49,15 +50,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)