From 218ed39bfe682e47cf92ca6abd365f8a41e91ae4 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Tue, 13 Apr 2010 13:29:45 +0100 Subject: [PATCH] Web build: update src dir. --- Documentation/contributor/website-work.itexi | 9 +++++---- make/website.make | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Documentation/contributor/website-work.itexi b/Documentation/contributor/website-work.itexi index 774aa45746..24928668aa 100644 --- a/Documentation/contributor/website-work.itexi +++ b/Documentation/contributor/website-work.itexi @@ -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,7 +72,7 @@ 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/make/website.make diff -u $DEST/lilypond-texi2html.init $GIT/Documentation/lilypond-texi2html.init @@ -90,7 +90,7 @@ 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/make/website.make $DEST/website.make cp $GIT/Documentation/lilypond-texi2html.init $DEST/lilypond-texi2html.init @@ -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 diff --git a/make/website.make b/make/website.make index cca162ad7a..fbcdc0d81f 100644 --- a/make/website.make +++ b/make/website.make @@ -6,7 +6,7 @@ ################################################################ ifeq ($(WEBSITE_ONLY_BUILD),1) ### for lilypond.org - TOP_SRC_DIR=$(HOME)/src/lilypond + TOP_SRC_DIR=$(HOME)/lilypond/lilypond-git TRUSTED_DIR=$(HOME)/lilypond/trusted-scripts top-src-dir=$(TOP_SRC_DIR) depth=. -- 2.39.2