summaryrefslogtreecommitdiffabout
path: root/lib/file_factory.cc
Side-by-side diff
Diffstat (limited to 'lib/file_factory.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/file_factory.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/file_factory.cc b/lib/file_factory.cc
index c6b5748..7ca7b86 100644
--- a/lib/file_factory.cc
+++ b/lib/file_factory.cc
@@ -39,7 +39,8 @@ namespace sitecing {
if(!is_uptodate(dst,&deps)) {
for(file_list_t::const_iterator i=deps.begin();i!=deps.end();i++)
make(*i);
- build(dst);
+ if(!is_uptodate(dst,&deps))
+ build(dst);
}
depth--;
}catch(konforka::exception& ke) {