diff options
Diffstat (limited to 'libbpkg/buildfile')
-rw-r--r-- | libbpkg/buildfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbpkg/buildfile b/libbpkg/buildfile index c55fd20..7560620 100644 --- a/libbpkg/buildfile +++ b/libbpkg/buildfile @@ -6,7 +6,13 @@ import int_libs = libbutl%lib{butl} lib{bpkg}: {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. |