]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/website.make
Simplify bibliography system.
[lilypond.git] / make / website.make
index 2ac54c5a4308354298444f5cb3e8b5ce889ac0e8..e05aa8ff9d9f770b34b9d2a9a77c949f4de54834 100644 (file)
@@ -35,8 +35,9 @@ endif
 OUT=out-website
 
 ### only update this when the language compiles correctly!
-# LANGUAGES = (site, de, es, fr, hu, it, ja, nl)
-WEB_LANGS = es fr it nl de hu ja
+# 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
 
 TEXI2HTML=ONLY_WEB=1 TOP_SRC_DIR=$(top-src-dir) DEPTH=$(depth) PERL_UNICODE=SD $(TEXI2HTML_PROGRAM)
 
@@ -85,10 +86,12 @@ website-xrefs: website-version
 website-bibs: website-version
        BSTINPUTS=$(top-src-dir)/Documentation/web \
                $(WEB_BIBS) -s web \
+               -s $(top-src-dir)/Documentation/lily-bib \
                -o $(OUT)/others-did.itexi \
                $(top-src-dir)/Documentation/web/others-did.bib
        BSTINPUTS=$(top-src-dir)/Documentation/web \
                $(WEB_BIBS) -s web \
+               -s $(top-src-dir)/Documentation/lily-bib \
                -o $(OUT)/we-wrote.itexi \
                $(top-src-dir)/Documentation/web/we-wrote.bib
 
@@ -118,12 +121,18 @@ website-css:
 
 website-pictures:
        mkdir -p $(OUT)/website/pictures
-       cp $(PICTURES)/* $(OUT)/website/pictures
-       ln -sf website/pictures $(OUT)/pictures
+       if [ -d $(PICTURES) ]; \
+       then \
+               cp $(PICTURES)/* $(OUT)/website/pictures ; \
+               ln -sf website/pictures $(OUT)/pictures  ;\
+       fi
 
 website-examples:
        mkdir -p $(OUT)/website/ly-examples
-       cp $(EXAMPLES)/* $(OUT)/website/ly-examples
+       if [ -d $(EXAMPLES) ]; \
+       then \
+               cp $(EXAMPLES)/* $(OUT)/website/ly-examples ; \
+       fi
 
 web-post:
        $(WEB_POST) $(OUT)/website