summaryrefslogtreecommitdiffstats
path: root/doc/SConscript
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-05-02 18:07:42 (GMT)
committerSteven Knight <knight@baldmt.com>2002-05-02 18:07:42 (GMT)
commit971823ece48d9eae019eeca0ec7c8712764bc839 (patch)
treed32aa8b76e64128ff0a6e456db9dcc9f79368f0c /doc/SConscript
parent63aa6a05a151bd07fb0dcf18d6e591af76129dbd (diff)
downloadSCons-971823ece48d9eae019eeca0ec7c8712764bc839.zip
SCons-971823ece48d9eae019eeca0ec7c8712764bc839.tar.gz
SCons-971823ece48d9eae019eeca0ec7c8712764bc839.tar.bz2
Build: don't use an intermediate scons-doc.tar file.
Diffstat (limited to 'doc/SConscript')
-rw-r--r--doc/SConscript13
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/SConscript b/doc/SConscript
index c436fb4..229cf25 100644
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -36,9 +36,9 @@ Import('env', 'whereis')
#
#
#
-doc_tar = os.path.join('#build',
- 'dist',
- 'scons-doc-%s.tar' % env.Dictionary('VERSION'))
+doc_tar_gz = os.path.join('#build',
+ 'dist',
+ 'scons-doc-%s.tar.gz' % env.Dictionary('VERSION'))
#
# We'll only try to build text files (for some documents)
@@ -276,8 +276,5 @@ if man2html:
# for easy distribution to the web site.
#
if tar_deps:
- 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")
+ env.Command(doc_tar_gz, tar_deps,
+ "tar cf${TAR_HFLAG} - -C build/doc %s | gzip > $TARGET" % tar_list)