summaryrefslogtreecommitdiffstats
path: root/doc/SConscript
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-02-26 21:00:23 (GMT)
committerSteven Knight <knight@baldmt.com>2002-02-26 21:00:23 (GMT)
commit024596366a4d3c03942015b2c7e09ed080d8a6b2 (patch)
tree746050e42e425bcc4a10ee751bc775b9d04f070e /doc/SConscript
parent22377ca1715d2b67a5e72cdede0fb0103e4c7ff1 (diff)
downloadSCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.zip
SCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.tar.gz
SCons-024596366a4d3c03942015b2c7e09ed080d8a6b2.tar.bz2
Extend SConstruct et al. to build .zip files, and to build the scons-src package on Win32 platforms.
Diffstat (limited to 'doc/SConscript')
-rw-r--r--doc/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/SConscript b/doc/SConscript
index 0356bf5..185cad0 100644
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -280,5 +280,6 @@ if man2html:
# Now actually create the tar file of the documentation,
# for easy distribution to the web site.
#
-env.Command(doc_tar_gz, tar_deps,
- "tar zch -f $TARGET -C build/doc %s" % tar_list)
+if tar_deps:
+ env.Command(doc_tar_gz, tar_deps,
+ "tar zc${TAR_HFLAG} -f $TARGET -C build/doc %s" % tar_list)