From 51c99fd23d31895547459cceb35fa4aa9145bb92 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Fri, 10 Aug 2001 12:50:00 +0000 Subject: [PATCH] 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 --- doc/Conscript | 65 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 53 insertions(+), 12 deletions(-) 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_;