cd $HOME/src/build-website
cp $HOME/lilypond/trusted-scripts/website.make .
-make -f make/website.make WEBSITE_ONLY_BUILD=1 website
+make -f website.make WEBSITE_ONLY_BUILD=1 website
rsync -ra $HOME/src/build-website/out-website/website/ $DEST/website/
cp $HOME/src/build-website/out-website/pictures $DEST
cp $HOME/src/build-website/out-website/.htaccess $DEST
# needs at least: make -C po or make- C Documentation/po
HAVE_GETTEXT = False
+#### this breaks on lilypond.org
# Keep some freakin' gettext compatibility
-if HAVE_GETTEXT:
- import lilylib as ly;
- global _;_=ly._
-else: # poor mans translation
- def _ (string, lang=os.environ['LANG']):
- return translations.get (lang.split ('_')[0], {}).get (string, string)
+#if HAVE_GETTEXT:
+# import lilylib as ly;
+# global _;_=ly._
+#else: # poor mans translation
+# def _ (string, lang=os.environ['LANG']):
+# return translations.get (lang.split ('_')[0], {}).get (string, string)
+
+#### this works on lilypond.org
+def _ (string, lang):
+ return translations.get (lang.split ('_')[0], {}).get (string, string)
exclude_manuals = [