-
Notifications
You must be signed in to change notification settings - Fork 15
/
configure.ac
61 lines (47 loc) · 1.85 KB
/
configure.ac
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
AC_PREREQ(2.62)
## Canonical version number components ##
# Package version: see https://github.com/mypaint/libmypaint/wiki/Versioning
# See http://semver.org/ for what this means.
# This version is just the same as the current libmypaint version for
# now. It may get out of sync later on.
m4_define([mypaint_brushes_major], [2])
m4_define([mypaint_brushes_minor], [0])
m4_define([mypaint_brushes_micro], [2])
# The package version is "major.minor.micro[-prerelease]".
m4_define([mypaint_brushes_version],
[mypaint_brushes_major.mypaint_brushes_minor.mypaint_brushes_micro])
# The data version indicates data compatibility.
# Basically this is part of 1.0 series of data which will work with
# libmypaint 1.x. It is not incremented with package versions unless
# incompatible changes in data format are made.
m4_define([mypaint_data_version], [2.0])
AC_INIT([MYPAINT_BRUSHES],
[mypaint_brushes_version],
[https://github.com/mypaint/mypaint-brushes/issues],
[mypaint-brushes],
[https://github.com/mypaint/mypaint-brushes])
AM_INIT_AUTOMAKE([no-define dist-xz no-dist-gzip
subdir-objects
foreign])
MYPAINT_BRUSHES_MAJOR_VERSION=mypaint_brushes_major
MYPAINT_BRUSHES_MINOR_VERSION=mypaint_brushes_minor
MYPAINT_BRUSHES_MICRO_VERSION=mypaint_brushes_micro
MYPAINT_BRUSHES_VERSION=mypaint_brushes_version
MYPAINT_DATA_VERSION=mypaint_data_version
AC_SUBST(MYPAINT_BRUSHES_MAJOR_VERSION)
AC_SUBST(MYPAINT_BRUSHES_MINOR_VERSION)
AC_SUBST(MYPAINT_BRUSHES_MICRO_VERSION)
AC_SUBST(MYPAINT_BRUSHES_VERSION)
AC_SUBST(MYPAINT_DATA_VERSION)
AC_PROG_INSTALL
# Initialize maintainer mode
AM_MAINTAINER_MODE([enable])
AC_CONFIG_FILES([
brushes/Makefile
Makefile
mypaint-brushes-]mypaint_data_version()[.pc:pkgconfig.pc.in
])
AC_OUTPUT
echo ""
echo " Configured mypaint-brushes $MYPAINT_BRUSHES_VERSION"
echo ""