From d0049e0d0bfecef46ad3f1ca4a7d68dab13321fd Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 15 Jul 2004 16:37:21 +0000 Subject: [PATCH] * SConstruct (symlink): Add dvips and music-drawing-routines.ps. (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 | 1 + SConstruct | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e542f09d04..45c3a06208 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2004-07-15 Jan Nieuwenhuizen * 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. diff --git a/SConstruct b/SConstruct index ecfe82bba6..c516e90c4a 100644 --- a/SConstruct +++ b/SConstruct @@ -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 '' > $absbuild/index.html''', '''echo 'Redirecting to the documentation index...' >> $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 -- 2.39.5