From: fred Date: Sun, 24 Mar 2002 20:05:49 +0000 (+0000) Subject: lilypond-0.1.45 X-Git-Tag: release/1.5.59~3433 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=221e6eb993180ade95b648ba44ae0513ecc507ac;p=lilypond.git lilypond-0.1.45 --- diff --git a/bin/make-website.py b/bin/make-website.py index d7ee588e5a..15da0c6e43 100644 --- a/bin/make-website.py +++ b/bin/make-website.py @@ -11,7 +11,16 @@ stupid script to generate WWW site. The WWW site is my test-suite for LilyPond, I usually don't - distribute versions that fail to complete this script """ + distribute versions that fail to complete this script + +You should set the following environment vars: + +LILYPOND_SOURCEDIR +TEXINPUTS +MAILADDRESS + + + """ import sys import os @@ -19,8 +28,10 @@ import os lilypath ='' try: lilypath = os.environ['LILYPOND_SOURCEDIR'] + '/' -except IndexError: - lilypath = os.environ['HOME'] + 'musix/current' +except KeyError: + print 'Please set LILYPOND_SOURCEDIR to the toplevel source, eg LILYPOND_SOURCEDIR=/home/foobar/lilypond-1.2.3/' + sys.exit(1) + lilypath = lilypath + '/bin/' sys.path.append(lilypath)