aboutsummaryrefslogtreecommitdiff
path: root/bpkg
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-03 15:09:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-03 15:09:32 +0200
commitc4712e0980fc9ada0d531f8a9dda58e20bef31d0 (patch)
tree85c715d345371643de7971dc1eabd58bf19834e8 /bpkg
parent8f3b0f246388db093c2719990e6503c9718e88ef (diff)
Bump version to 0.1.0.a1
Diffstat (limited to 'bpkg')
-rw-r--r--bpkg/bpkg-version10
-rw-r--r--bpkg/bpkg.cxx5
2 files changed, 9 insertions, 6 deletions
diff --git a/bpkg/bpkg-version b/bpkg/bpkg-version
index 381fa56..21febff 100644
--- a/bpkg/bpkg-version
+++ b/bpkg/bpkg-version
@@ -4,6 +4,7 @@
#ifndef BPKG_VERSION // Note: using the version macro itself.
+#include <butl/version> // LIBBUTL_VERSION
#include <bpkg/version> // LIBBPKG_VERSION
// Version format is AABBCCDD where
@@ -27,14 +28,14 @@
// compatible, thought we might have a minimum version requirement.
//
// AABBCCDD
-#if (LIBBPKG_VERSION < 10000 || \
+#if (LIBBPKG_VERSION < 9901 || \
LIBBPKG_VERSION > 990000)
# error incompatible libbpkg version
#endif
// AABBCCDD
-#define BPKG_VERSION 10000
-#define BPKG_VERSION_STR "0.1.0"
+#define BPKG_VERSION 9901
+#define BPKG_VERSION_STR "0.1.0.a1"
// User agent.
//
@@ -72,6 +73,7 @@
#define BPKG_USER_AGENT \
"bpkg/" BPKG_VERSION_STR " (" BPKG_OS "; +http://build2.org) " \
- "libbpkg/" LIBBPKG_VERSION_STR
+ "libbpkg/" LIBBPKG_VERSION_STR \
+ "libbutl/" LIBBUTL_VERSION_STR
#endif // BPKG_VERSION
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx
index e1cdce2..2f483c3 100644
--- a/bpkg/bpkg.cxx
+++ b/bpkg/bpkg.cxx
@@ -77,8 +77,9 @@ try
if (o.version ())
{
- cout << "bpkg " << BPKG_VERSION_STR << "; " <<
- "libbpkg " << LIBBPKG_VERSION_STR << endl
+ cout << "bpkg " << BPKG_VERSION_STR << endl
+ << "libbpkg " << LIBBPKG_VERSION_STR << endl
+ << "libbutl " << LIBBUTL_VERSION_STR << endl
<< "Copyright (c) 2014-2015 Code Synthesis Ltd" << endl
<< "This is free software released under the MIT license." << endl;
return 0;