summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts
diff options
context:
space:
mode:
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'])