aboutsummaryrefslogtreecommitdiff
path: root/build/bootstrap.build
blob: 57fd2bd72064364894d702a25e15c9275d428cb1 (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
26
27
# file      : build/bootstrap.build
# copyright : Copyright (c) 2016-2018 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.9, 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). Or
# it can mean that the first two release version components constitute a major
# version, and the release number increments each time this version changes.
# 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 && $version.minor == 4)
  release_num = 3
else
  fail "increment the release number?"