From c865883666028da1982b082a0754cc4a261afd27 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Jul 2016 17:07:27 +0200 Subject: Add dependency on fsdir{} in alias rules This makes sure that a directory with only dir{} target gets cleaned up. --- build2/cxx/compile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cxx/compile.cxx') diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx index e0fabb4..25416e8 100644 --- a/build2/cxx/compile.cxx +++ b/build2/cxx/compile.cxx @@ -82,7 +82,7 @@ namespace build2 // Inject dependency on the output directory. // - fsdir* dir (inject_parent_fsdir (a, t)); + fsdir* dir (inject_fsdir (a, t)); // Search and match all the existing prerequisites. The injection // code (below) takes care of the ones it is adding. -- cgit v1.1