From 0be79ae8d1185271df075631dced2d3afe42e4e4 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Fri, 10 Aug 2001 12:50:00 +0000 Subject: For the web site, build a .tar.gz of the documentation. --- doc/Conscript | 65 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 12 deletions(-) diff --git a/doc/Conscript b/doc/Conscript index 2841815..948d8eb 100644 --- a/doc/Conscript +++ b/doc/Conscript @@ -1,5 +1,5 @@ # -# +# Conscript file for building SCons documentation. # Import qw( @@ -10,7 +10,17 @@ Import qw( ); # +# +# +$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_;