summaryrefslogtreecommitdiffstats
path: root/doc/SConscript
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-04-23 02:06:10 (GMT)
committerSteven Knight <knight@baldmt.com>2002-04-23 02:06:10 (GMT)
commitfd18e34d0635b7f346995a0d54f9dce62997ed49 (patch)
tree86944d723ad30bc100e06a3d1654baa24e45005e /doc/SConscript
parent359e8303a9423cb0ed8ee250042941866eaa64c8 (diff)
downloadSCons-fd18e34d0635b7f346995a0d54f9dce62997ed49.zip
SCons-fd18e34d0635b7f346995a0d54f9dce62997ed49.tar.gz
SCons-fd18e34d0635b7f346995a0d54f9dce62997ed49.tar.bz2
Build patches for IRIX. (Chad Austin)
Diffstat (limited to 'doc/SConscript')
-rw-r--r--doc/SConscript13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/SConscript b/doc/SConscript
index 898f370..c436fb4 100644
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -36,9 +36,9 @@ Import('env', 'whereis')
#
#
#
-doc_tar_gz = os.path.join('#build',
- 'dist',
- 'scons-doc-%s.tar.gz' % env.Dictionary('VERSION'))
+doc_tar = os.path.join('#build',
+ 'dist',
+ 'scons-doc-%s.tar' % env.Dictionary('VERSION'))
#
# We'll only try to build text files (for some documents)
@@ -276,5 +276,8 @@ if man2html:
# for easy distribution to the web site.
#
if tar_deps:
- env.Command(doc_tar_gz, tar_deps,
- "tar zc${TAR_HFLAG} -f $TARGET -C build/doc %s" % tar_list)
+ doc_tar_gz = doc_tar + ".gz"
+ env.Command(doc_tar, tar_deps,
+ "tar cf${TAR_HFLAG} $TARGET -C build/doc %s" % tar_list)
+ env.Command(doc_tar_gz, doc_tar,
+ "gzip $SOURCES")