aboutsummaryrefslogtreecommitdiffstats
path: root/src/redo-ifchange.c
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2014-08-20 03:40:08 +0200
committerTharre <tharre3@gmail.com>2014-08-20 03:40:08 +0200
commit856b72ef61af7f8cafb4abc4cab522da62900322 (patch)
treedc86585969c3f4d372add0e36d685534efb3c808 /src/redo-ifchange.c
parent5e5e7e66ee876e2aa62ac336b4e3c7b8ea6af1ce (diff)
downloadredo-856b72ef61af7f8cafb4abc4cab522da62900322.tar.gz
redo-856b72ef61af7f8cafb4abc4cab522da62900322.tar.xz
redo-856b72ef61af7f8cafb4abc4cab522da62900322.zip
Make targets depend on do-files.
This includes two different scenarios, first if the do-files which was used to build the target has changed the target must be rebuilt. Second, if a target was build by a lower priority do-file, like default.fuu.do, then it must be rebuilt if <target>.fuu.do appears. Note that at this point, Redofile as do-file is semi-supported, as it's future is uncertain.
Diffstat (limited to 'src/redo-ifchange.c')
-rw-r--r--src/redo-ifchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redo-ifchange.c b/src/redo-ifchange.c
index c6974ac..e95e92e 100644
--- a/src/redo-ifchange.c
+++ b/src/redo-ifchange.c
@@ -21,6 +21,6 @@ int main(int argc, char *argv[]) {
} else {
/*printf("=> yes\n");*/
}
- add_dep(argv[i], 'c');
+ add_dep(argv[i], NULL, 'c');
}
}