From: Mikko Rasa Date: Tue, 20 Aug 2013 15:13:51 +0000 (+0300) Subject: Use the correct target as root for cleaning X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=2d765e850b2360940111cbd522af659cc3c4aef7;p=builder.git Use the correct target as root for cleaning --- diff --git a/source/builder.cpp b/source/builder.cpp index e501f69..3945b73 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -255,7 +255,7 @@ int Builder::clean(bool all, bool dry_run) set clean_tgts; list queue; - queue.push_back(build_graph.get_target("cmdline")); + queue.push_back(&build_graph.get_goals()); while(!queue.empty()) {