From: stevenknight Date: Fri, 10 Aug 2001 12:50:00 +0000 (+0000) Subject: For the web site, build a .tar.gz of the documentation. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51c99fd23d31895547459cceb35fa4aa9145bb92;p=scons.git For the web site, build a .tar.gz of the documentation. git-svn-id: http://scons.tigris.org/svn/scons/trunk@21 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/doc/Conscript b/doc/Conscript index 28418157..948d8eb9 100644 --- a/doc/Conscript +++ b/doc/Conscript @@ -1,5 +1,5 @@ # -# +# Conscript file for building SCons documentation. # Import qw( @@ -9,8 +9,18 @@ Import qw( version ); +# +# +# +$doc_tar_gz = "#build/dist/scons-doc-$version.tar.gz"; + +# +# Always create a version.sgml file containing the version information +# for this run. Ignore it for dependency purposes so we don't +# rebuild all the docs every time just because the date changes. # $verfile = SourcePath("version.sgml"); +unlink($verfile); open(FILE, ">$verfile") || die "Cannot open '$verfile': $!"; print FILE <<_EOF_;