summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-06-08 13:15:49 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-06-08 13:15:49 -0400
commitc270b25271cf22f17fbb832c807ca10d163d7e79 (patch)
tree1f742619c9e1d0af851f5bbc25d0c91511fa2c36 /src/mongo/db/fts
parentdb2fe00da48720fdd9c037f1e3e5d6aa8589745d (diff)
downloadmongo-c270b25271cf22f17fbb832c807ca10d163d7e79.tar.gz
SERVER-24377 scons generated-sources is missing stop_words_list.[cpp|h]
Diffstat (limited to 'src/mongo/db/fts')
-rw-r--r--src/mongo/db/fts/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/fts/SConscript b/src/mongo/db/fts/SConscript
index 9a58088d035..d50fd5acdeb 100644
--- a/src/mongo/db/fts/SConscript
+++ b/src/mongo/db/fts/SConscript
@@ -26,9 +26,10 @@ stop_word_languages = [
'turkish',
]
-env.Command( [ "stop_words_list.h", "stop_words_list.cpp"],
+generateStopWordsList = env.Command( [ "stop_words_list.h", "stop_words_list.cpp"],
[ "generate_stop_words.py"] + [ 'stop_words_%s.txt' % x for x in stop_word_languages ],
"$PYTHON $SOURCES $TARGETS" )
+env.Alias('generated-sources', generateStopWordsList)
baseEnv=env.Clone()
baseEnv.InjectThirdPartyIncludePaths(libraries=['stemmer'])