From 30df505b480917800c5876a51b159240e2a002e2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 24 Aug 2017 15:41:20 +0300 Subject: Add version-build2.hxx back into distribution and don't clean it up from src --- odb/sqlite/buildfile | 6 ++++++ odb/sqlite/version-build2.hxx | 0 2 files changed, 6 insertions(+) create mode 100644 odb/sqlite/version-build2.hxx (limited to 'odb') diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile index 6df413d..b0244ed 100644 --- a/odb/sqlite/buildfile +++ b/odb/sqlite/buildfile @@ -10,7 +10,13 @@ lib{odb-sqlite}: {hxx ixx txx cxx}{* -version-build2} {hxx}{version-build2} \ details/build2/{h}{*} \ $int_libs +# Include the generated version header into the distribution (so that we don't +# pick up an installed one) and don't remove it when cleaning in src (so that +# clean results in a state identical to distributed). +# hxx{version-build2}: in{version-build2} $src_root/file{manifest} +hxx{version-build2}: dist = true +hxx{version-build2}: clean = ($src_root != $out_root) # For pre-releases use the complete version to make sure they cannot be used # in place of another pre-release or the final version. diff --git a/odb/sqlite/version-build2.hxx b/odb/sqlite/version-build2.hxx new file mode 100644 index 0000000..e69de29 -- cgit v1.1