diff options
author | Evan Martin <martine@danga.com> | 2011-11-13 20:48:32 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-11-13 20:48:32 (GMT) |
commit | d838f8ed07d5cc2550a8b083ad7e866de49fe45d (patch) | |
tree | 751dd9e81f9205c83102dbbee1c9c2875d0146aa /configure.py | |
parent | d0a3c5c3735c52aa2fd4ecfb0d2c84dc9ebbb45a (diff) | |
download | Ninja-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.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
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.') |