diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-20 15:57:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-20 15:57:55 +0200 |
commit | 49773c48a3f0b4a16d85798ce07653fb251be708 (patch) | |
tree | 3254091515a46b8c66f4f27ef833795b586e0de4 /build2 | |
parent | 5058b155076b004f4abf21be6cf657a3f2cc4d1b (diff) |
Don't distribute generated version.hxx and don't clean version
Now the clean operation in src_root should result in state identical to
distributed (which appears to be important to some packaging systems, e.g.,
Debian).
Diffstat (limited to 'build2')
-rw-r--r-- | build2/buildfile | 1 | ||||
-rw-r--r-- | build2/version.hxx | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/build2/buildfile b/build2/buildfile index 8c33828..55ce59d 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -11,7 +11,6 @@ libu{b}: {hxx ixx txx cxx}{** -b -b-options -version} \ $libs hxx{version}: in{version} $src_root/file{manifest} -hxx{version}: dist = true # Pass our compiler target to be used as build2 host. # diff --git a/build2/version.hxx b/build2/version.hxx deleted file mode 100644 index 17383fc..0000000 --- a/build2/version.hxx +++ /dev/null @@ -1,18 +0,0 @@ -// file : build2/version.hxx -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_VERSION // Note: using the version macro itself. - -// This is a "fake" version used to bootstrap from the repository (we include -// a pre-generated version in distributions). -// -#define BUILD2_VERSION 9999999990000ULL - -#define BUILD2_VERSION_STR "999.999.999" -#define BUILD2_VERSION_ID "999.999.999" - -#define LIBBUTL_VERSION_STR "999.999.999" -#define LIBBUTL_VERSION_ID "999.999.999" - -#endif // BUILD2_VERSION |