summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-11-13 20:48:32 (GMT)
committerEvan Martin <martine@danga.com>2011-11-13 20:48:32 (GMT)
commitd838f8ed07d5cc2550a8b083ad7e866de49fe45d (patch)
tree751dd9e81f9205c83102dbbee1c9c2875d0146aa
parentd0a3c5c3735c52aa2fd4ecfb0d2c84dc9ebbb45a (diff)
downloadNinja-d838f8ed07d5cc2550a8b083ad7e866de49fe45d.zip
Ninja-d838f8ed07d5cc2550a8b083ad7e866de49fe45d.tar.gz
Ninja-d838f8ed07d5cc2550a8b083ad7e866de49fe45d.tar.bz2
fix TODO: correct dependencies for inline.sh
Not sure why I just didn't write this right the first time; when running a script for its output, the script is always an implicit input of the output.
-rwxr-xr-xconfigure.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.py b/configure.py
index be8eea6..92ad6d9 100755
--- a/configure.py
+++ b/configure.py
@@ -130,13 +130,11 @@ if platform not in ('mingw'):
command='src/inline.sh $varname < $in > $out',
description='INLINE $out')
n.build(built('browse_py.h'), 'inline', src('browse.py'),
+ implicit='src/inline.sh',
variables=[('varname', 'kBrowsePy')])
n.newline()
- n.comment("TODO: this shouldn't need to depend on inline.sh.")
- objs += cxx('browse',
- implicit='src/inline.sh',
- order_only=built('browse_py.h'))
+ objs += cxx('browse', order_only=built('browse_py.h'))
n.newline()
n.comment('Core source files all build into ninja library.')