aboutsummaryrefslogtreecommitdiff
path: root/build/bootstrap.build
blob: 9b2bb1e232895d2dd8bedd304a6bfd1b637cebe8 (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
28
29
30
31
# 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, for the 1.3.90 to 1.4.0
# release version increment the version in the library file name changed from
# 2 to 3 (libpkgconf.so.2.0.0 -> libpkgconf.so.3.0.0). This probably means
# 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
#
# Note that the upstream project didn't increment the release number (3) for
# the 1.5 library version despite the ABI breaking changes.
#
# @@ Need to report this upstream.
#
if ($version.major == 1 && $version.minor == 5)
  release_num = 4
else
  fail "increment the release number?"