File: configure.ac

package info (click to toggle)
mypaint-brushes 1.3.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,336 kB
  • sloc: makefile: 377; sh: 149
file content (61 lines) | stat: -rw-r--r-- 1,890 bytes parent folder | download
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
61
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], [1])
m4_define([mypaint_brushes_minor], [3])
m4_define([mypaint_brushes_micro], [0])

# 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], [1.0])

AC_INIT([MYPAINT_BRUSHES],
        [mypaint_brushes_version],
        [https://github.com/Jehan/mypaint-brushes/issues],
        [mypaint-brushes],
        [https://github.com/Jehan/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 ""