From 16909271763c62c6a3515afeadb2c610d331b17d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 24 Aug 2017 14:21:55 +0300 Subject: Add version.hxx back into distribution and don't clean it up from src --- libbbot/buildfile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbbot/buildfile') diff --git a/libbbot/buildfile b/libbbot/buildfile index e30e1e9..3b53be3 100644 --- a/libbbot/buildfile +++ b/libbbot/buildfile @@ -6,7 +6,13 @@ import int_libs = libbutl%lib{butl} libbpkg%lib{bpkg} lib{bbot}: {hxx ixx txx cxx}{* -version} {hxx}{version} $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}: in{version} $src_root/file{manifest} +hxx{version}: dist = true +hxx{version}: 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. -- cgit v1.1