summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct11
1 files changed, 8 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index dc9ee5d..d4b3e00 100644
--- a/SConstruct
+++ b/SConstruct
@@ -204,6 +204,10 @@ packaging_flavors = [
('zip', "The normal .zip file for end-user installation."),
('local-zip', "A .zip file for dropping into other software " +
"for local use."),
+ ('src-tar-gz', "A .tar.gz file containing all the source " +
+ "(including tests and documentation)."),
+ ('src-zip', "A .zip file containing all the source " +
+ "(including tests and documentation)."),
]
test_tar_gz_dir = os.path.join(build_dir, "test-tar-gz")
@@ -851,10 +855,11 @@ SConscript('doc/SConscript')
#
-sfiles = None
+sfiles = [l.split()[-1] for l in git_status_lines]
if git_status_lines:
- slines = [l for l in git_status_lines if 'modified:' in l]
- sfiles = [l.split()[-1] for l in slines]
+ # slines = [l for l in git_status_lines if 'modified:' in l]
+ # sfiles = [l.split()[-1] for l in slines]
+ pass
else:
print("Not building in a Git tree; skipping building src package.")