aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite')
-rw-r--r--odb/sqlite/buildfile8
1 files changed, 5 insertions, 3 deletions
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