From ef4617c665c5e281377b4fa10e462d5fb6716a4f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 24 Aug 2017 13:48:24 +0300 Subject: Don't clean generated cli files from src --- load/buildfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'load') diff --git a/load/buildfile b/load/buildfile index 6852871..8be32c4 100644 --- a/load/buildfile +++ b/load/buildfile @@ -23,7 +23,10 @@ if $cli.configured --cxx-prologue "#include " \ --long-usage - # Include generated cli files into the distribution. + # Include the generated cli files into the distribution and don't remove + # them when cleaning in src (so that clean results in a state identical to + # distributed). # - cli.cxx{*}: dist = true + cli.cxx{*}: dist = true + cli.cxx{*}: clean = ($src_root != $out_root) } -- cgit v1.1