aboutsummaryrefslogtreecommitdiff
path: root/build/bootstrap.build
blob: 3034b13c533b5488d38b514e70476e9024f5118f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# file      : build/bootstrap.build
# copyright : Copyright (c) 2016-2017 Code Synthesis Ltd
# license   : ISC; see accompanying COPYING file

project = libpkgconf

using version
using config
using dist
using test
using install

# The versioning scheme (after 0.9.12) assumes that each [major?] release has
# it's own number (starting with 2). In any case, as of 1.3.8, version 2 is
# still in the library file name (libpkgconf.so.2.0.0). This probably means
# that the release number is equal to major version + 1 (though in Makefile.am
# they use -version-info 2:0:0 which doesn't mean what they think it means).
# So we just need to watch their Makefile.am for any changes.
#
# See also: http://kaniini.dereferenced.org/2015/07/20/pkgconf-0-9-12-and-future.html
#
if ($version.major == 1)
  release_num = 2
else
  fail "increment the release number?"