From a685c476343a4959197c639661fe5ef4d8d4f216 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 24 Aug 2017 15:15:02 +0300 Subject: Don't clean generated cli files from src --- odb/sqlite/buildfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'odb') diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile index 4f438c7..6df413d 100644 --- a/odb/sqlite/buildfile +++ b/odb/sqlite/buildfile @@ -40,11 +40,13 @@ details/: --guard-prefix LIBODB_SQLITE_DETAILS --generate-file-scanner \ --cli-namespace odb::sqlite::details::cli --long-usage - # 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