X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.cpp;h=c9c23ad9116165297d602978b9be04c13f902530;hb=ab25857fd626152bc9a2832de82b400c062857e6;hp=3b1685324997fcfebce2273d828e39a0a83ea37a;hpb=921fc49488a68442fb8794e1a0284a3bf1e7b91b;p=builder.git diff --git a/source/target.cpp b/source/target.cpp index 3b16853..c9c23ad 100644 --- a/source/target.cpp +++ b/source/target.cpp @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #include #include #include "action.h" @@ -95,6 +102,8 @@ Target::Target(Builder &b, const Package *p, const string &n): prepared(false), counted(false) { + builder.add_target(this); + struct stat st; if(!Path::stat(name, st)) mtime=Time::TimeStamp::from_unixtime(st.st_mtime);