]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/contributor/website-work.itexi
Web build: update src dir.
[lilypond.git] / Documentation / contributor / website-work.itexi
index 65dc3f1098064092ca18abded27d002c288a1533..24928668aa421d2884f9fac7d7cbdbf7c3571ffc 100644 (file)
@@ -62,7 +62,7 @@ Get latest source code:
 @verbatim
 ### update-git.sh
 #!/bin/sh
-cd $HOME/src/lilypond
+cd $HOME/lilypond/lilypond-git
 git fetch origin
 git merge origin/master
 @end verbatim
@@ -72,9 +72,9 @@ Check for any updates to trusted scripts / files:
 @verbatim
 ### check-git.sh
 #!/bin/sh
-GIT=$HOME/src/lilypond
+GIT=$HOME/lilypond/lilypond-git
 DEST=$HOME/lilypond/trusted-scripts
-diff -u $DEST/website.make $GIT/website.make
+diff -u $DEST/website.make $GIT/make/website.make
 diff -u $DEST/lilypond-texi2html.init $GIT/Documentation/lilypond-texi2html.init
 diff -u $DEST/extract_texi_filenames.py $GIT/scripts/build/extract_texi_filenames.py
 diff -u $DEST/create-version-itexi.py $GIT/scripts/build/create-version-itexi.py
@@ -90,9 +90,9 @@ If the changes look ok, make them trusted:
 @verbatim
 ### copy-from-git.sh
 #!/bin/sh
-GIT=$HOME/src/lilypond
+GIT=$HOME/lilypond/lilypond-git
 DEST=$HOME/lilypond/trusted-scripts
-cp $GIT/website.make $DEST/website.make
+cp $GIT/make/website.make $DEST/website.make
 cp $GIT/Documentation/lilypond-texi2html.init $DEST/lilypond-texi2html.init
 cp $GIT/scripts/build/extract_texi_filenames.py $DEST/extract_texi_filenames.py
 cp $GIT/scripts/build/create-version-itexi.py $DEST/create-version-itexi.py
@@ -109,7 +109,8 @@ Build the website:
 ### make-website.sh
 #!/bin/sh
 DEST=$HOME/web/
-cd $HOME/src/build-website
+mkdir -p $HOME/lilypond/build-website/
+cd $HOME/lilypond/build-website/
 cp $HOME/lilypond/trusted-scripts/website.make .
 
 make -f website.make WEBSITE_ONLY_BUILD=1 website
@@ -161,6 +162,19 @@ there are a few additional things to note:
 
 @itemize
 
+@item
+Build the website with:
+
+@example
+make website
+@end example
+
+@noindent
+however, please note that this command is not designed for being
+run multiple times.  If you see unexpected output (mainly the page
+footers getting all messed up), then delete your
+@file{out-website} directory and run @code{make website} again.
+
 @item
 Some of the translation infrastructure is defined in python files;
 you must look at the @code{### translation data} sections in:
@@ -173,7 +187,7 @@ scripts/build/website_post.py
 @item
 Translations are not included by default in @code{make website}.
 To test your translation, edit the @code{WEB_LANGS} line in
-@file{website.make}.  Do not submit a patch to add your language
+@file{make/website.make}.  Do not submit a patch to add your language
 to this file unless @code{make website} completes with less than 5
 warnings.