From 7efb13e90d16bf3f49d405c4167bded1428d239c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 24 Aug 2017 15:11:32 +0300 Subject: Don't clean generated cli files from src --- odb/pgsql/buildfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/odb/pgsql/buildfile b/odb/pgsql/buildfile index 771807d..698d706 100644 --- a/odb/pgsql/buildfile +++ b/odb/pgsql/buildfile @@ -40,11 +40,13 @@ details/: --guard-prefix LIBODB_PGSQL_DETAILS --generate-file-scanner \ --cli-namespace odb::pgsql::details::cli --long-usage --generate-specifier - # Include generated cli files into the distribution. But don't install - # their headers since they are only used internally in the database - # implementation. + # Include 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). But don't install their headers since they are only used + # internally in the database implementation. # cli.cxx{*}: dist = true + cli.cxx{*}: clean = ($src_root != $out_root) cli.cxx{*}: install = false } else -- cgit v1.1