);
sub web_settings() {
- print STDERR "Initializing settings for web site\n";
+ print STDERR "Initializing settings for web site: [$Texi2HTML::THISDOC{current_lang}]\n";
$Texi2HTML::Config::BODYTEXT = "";
@Texi2HTML::Config::CSS_REFS = (
{FILENAME => "lilypond-web.css", TITLE => "Patrick McCarty's design"}
$(CREATE_WEBLINKS) $(top-src-dir) > $(OUT)/weblinks.itexi
website-xrefs: website-version
- $(EXTRACT_TEXI_FILENAMES) -I $(top-src-dir)/Documentation/ \
- -I $(OUT) -o $(OUT) --split=node \
- $(top-src-dir)/Documentation/web.texi
- # normal manuals
- for m in $(MANUALS); do \
- b=`basename "$$m" .texi`; \
- d=`basename "$$b" .tely`; \
- $(EXTRACT_TEXI_FILENAMES) \
- -I $(top-src-dir)/Documentation/ \
- -I $(top-src-dir)/Documentation/"$$d"/ \
- -I $(OUT) -o $(OUT) "$$m" ; \
- done
- # translations
- for l in $(WEB_LANGS); do \
+ for l in '' $(WEB_LANGS); do \
$(EXTRACT_TEXI_FILENAMES) \
-I $(top-src-dir)/Documentation/ \
-I $(top-src-dir)/Documentation/"$$l" \
website-texinfo: website-version website-xrefs
- $(TEXI2HTML) --prefix=index \
- --split=section \
- --I=$(top-src-dir)/Documentation/ \
- --I=$(OUT) \
- --init-file=$(texi2html-init-file) \
- -D web_version \
- --output=$(OUT)/website/ \
- $(top-src-dir)/Documentation/web.texi
- # translations
- for l in $(WEB_LANGS); do \
+ for l in '' $(WEB_LANGS); do \
+ if test -n "$$l"; then \
+ langopt=--lang="$$l"; \
+ fi; \
$(TEXI2HTML) --prefix=index \
--split=section \
--I=$(top-src-dir)/Documentation/"$$l" \
--I=$(top-src-dir)/Documentation/ \
--I=$(OUT) \
- --lang="$$l" \
+ $$langopt \
--init-file=$(texi2html-init-file) \
-D web_version \
--output=$(OUT)/"$$l" \