]> git.donarmstrong.com Git - lilypond.git/commitdiff
* SConstruct (symlink): Add dvips and music-drawing-routines.ps.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 15 Jul 2004 16:37:21 +0000 (16:37 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 15 Jul 2004 16:37:21 +0000 (16:37 +0000)
(web_path): Fixes for webball.

* SConstruct (config_vars): Add CPPDEFINES.
(env): Set checksums type to "content".
(save_config_cache): Do not exit after configuring when using
checksums (the default) instead of timestamps.

ChangeLog
SConstruct

index e542f09d048eb962052689af811f00bd7a5aff40..45c3a06208f2c553d4006ba6a40614b2ecc60650 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2004-07-15  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * SConstruct (symlink): Add dvips and music-drawing-routines.ps.
+       (web_path): Fixes for webball.
 
        * lily/slur.cc: Add quant-score to interface.  Fixes web build.
 
index ecfe82bba65af627c7f4d410a8cc7247a39dd46e..c516e90c4a537a0b4ef59a599d6e8f9882e45c2e 100644 (file)
@@ -696,7 +696,9 @@ env.Alias ('release', patch)
 web_base = os.path.join (outdir, 'web')
 web_ball = os.path.join (web_base, '.tar.gz')
 env['footify'] = 'MAILADDRESS=bug-lilypond@gnu.org $PYTHON stepmake/bin/add-html-footer.py --name=lilypond --version=$TOPLEVEL_VERSION'
-env['web_ext'] = ['.html', '.ly', '.midi', '.pdf', '.png', '.ps.gz', '.txt',]
+web_ext = ['.html', '.ly', '.midi', '.pdf', '.png', '.ps.gz', '.txt',]
+web_path = '-path "*/$out/*"' + string.join (web_ext, ' -or -path "*/$out/*"')
+env['web_path'] = web_path
 
 # compatible make heritits
 # fixme: generate in $outdir is cwd/builddir
@@ -705,15 +707,14 @@ env.Command (web_ball, 'doc',
              'cd $absbuild && $footify $$(find . -name "*.html" -print)',
              # uhg?
              'cd $absbuild && rm -f $$(find . -name "*.html~" -print)',
-             'cd $absbuild && find Documentation input \
-             -path foo $web_path -false \
+             'cd $absbuild && find Documentation input $web_path \
              > $out/weblist',
              '''echo '<META HTTP-EQUIV="refresh" content="0;URL=Documentation/out-www/index.html">' > $absbuild/index.html''',
              '''echo '<html><body>Redirecting to the documentation index...</body></html>' >> $absbuild/index.html''',
              # UGHR?  all .html cruft in cwd goes into the web ball?
              'cd $absbuild && ls *.html >> $out/weblist',
              'cat $out/weblist | (cd $absbuild; \
-             GZIP=-9v tar -czf $web_ball  -T -)',])
+             GZIP=-9v tar -czf ${TARGET.file}  -T -)',])
 env.Alias ('web', web_ball)
 
 #### tags