X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsymlink.cpp;h=915dccb80005adac57a71c63ff40017c9ae9cee6;hb=463a3521e27870294455373f9c69279069611975;hp=f962b250c1c9c808735815bee1ade7fe4e9c56b8;hpb=05a2b9dabd01414e9e9a91f9d69babaca4ccb32d;p=builder.git diff --git a/source/symlink.cpp b/source/symlink.cpp index f962b25..915dccb 100644 --- a/source/symlink.cpp +++ b/source/symlink.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of builder -Copyright © 2010 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include #include "makesymlink.h" #include "symlink.h" @@ -17,6 +10,12 @@ Symlink::Symlink(Builder &b, const Package &p, FileTarget &t, const string &n): target(t) { buildable = true; + add_depend(&target); +} + +Target *Symlink::get_buildable_target() +{ + return target.get_buildable_target(); } Target *Symlink::get_real_target()