]> git.donarmstrong.com Git - lilypond.git/commitdiff
Build: website should rely on $LILYPOND_GIT
authorGraham Percival <graham@percival-music.ca>
Sat, 4 Feb 2012 22:10:04 +0000 (22:10 +0000)
committerGraham Percival <graham@percival-music.ca>
Sat, 4 Feb 2012 22:32:41 +0000 (22:32 +0000)
This work was sponsored by David Kastrup.

make/website.make

index 4fed1939851c7d962615eb102b9c645fc5a90a51..59ac71d8184cb555a4911aea631898320eea0aae 100644 (file)
@@ -7,7 +7,7 @@
 
 ifeq ($(WEBSITE_ONLY_BUILD),1)
   ### for lilypond.org
-  TOP_SRC_DIR=$(HOME)/lilypond/lilypond-git
+  TOP_SRC_DIR=$(LILYPOND_GIT)
   TRUSTED_DIR=$(HOME)/lilypond/trusted-scripts
   top-src-dir=$(TOP_SRC_DIR)
   depth=.
@@ -16,7 +16,8 @@ ifeq ($(WEBSITE_ONLY_BUILD),1)
   texi2html-init-file=$(trusted-dir)/lilypond-texi2html.init
   top-htaccess=$(trusted-dir)/lilypond.org.htaccess
   dir-htaccess=$(trusted-dir)/website-dir.htaccess
-  TEXI2HTML_PROGRAM=$(HOME)/usr/bin/texi2html
+  # grab it from PATH
+  TEXI2HTML_PROGRAM=texi2html
   PYTHON=python
   PYTHONPATH=$(TRUSTED_DIR)
 else