summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-26 08:40:12 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-29 19:02:10 -0400
commit96a9efeeee87df94c9c5fa7bdf1f1d2d93f234d4 (patch)
treee1b2928fbcaeff5a39571453b0bb1ac955e1ab6e /SConstruct
parentdcc38a627d3e4f92d9df0eaeb97739dfa0280907 (diff)
downloadmongo-96a9efeeee87df94c9c5fa7bdf1f1d2d93f234d4.tar.gz
SERVER-19099 Add a target to build all generated sources
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 2a7ee4614ad..324febb7176 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2302,7 +2302,8 @@ def injectMongoIncludePaths(thisEnv):
thisEnv.AppendUnique(CPPPATH=['$BUILD_DIR'])
env.AddMethod(injectMongoIncludePaths, 'InjectMongoIncludePaths')
-env.Alias("compiledb", env.CompilationDatabase('compile_commands.json'))
+compileDb = env.Alias("compiledb", env.CompilationDatabase('compile_commands.json'))
+
env.Alias("distsrc-tar", env.DistSrc("mongodb-src-${MONGO_VERSION}.tar"))
env.Alias("distsrc-tgz", env.GZip(
target="mongodb-src-${MONGO_VERSION}.tgz",