summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-14 00:22:29 +0200
committerraveit65 <[email protected]>2019-10-22 23:26:36 +0200
commit066a7b1974e68db56eb86b59f758ef5580473480 (patch)
tree45b9232b58f1a767aba070bcf443d2476d7b0495 /configure.ac
parent84f4c42af3ff687109e99ee02d217dcc9e399f27 (diff)
downloadmate-desktop-066a7b1974e68db56eb86b59f758ef5580473480.tar.bz2
mate-desktop-066a7b1974e68db56eb86b59f758ef5580473480.tar.xz
build: introduce RELEASE_YEAR variable for mate-about dialog
Test 1: ./autogen.sh --prefix=/usr cat mate-about/mate-about.h make && sudo make install Test 2: mkdir builddir meson setup builddir --prefix=/usr cat builddir/mate-about/mate-about.h sudo ninja -C builddir install
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 657f724..8d5ef38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,6 +56,9 @@ AC_DEFINE(MATE_MAJOR, [mate_platform], [Define to the major version])
AC_DEFINE(MATE_MINOR, [mate_minor], [Define to the minor version])
AC_DEFINE(MATE_MICRO, [mate_micro], [Define to the micro version])
+RELEASE_YEAR=`date +%Y`
+AC_SUBST([RELEASE_YEAR])
+
MATE_COMMON_INIT
MATE_DEBUG_CHECK
MATE_COMPILE_WARNINGS([maximum])
@@ -234,6 +237,7 @@ AM_CONDITIONAL([HAVE_RSVG_CONVERT], [test "x$RSVG_CONVERT" != x])
AC_CONFIG_FILES([
Makefile
mate-about/Makefile
+mate-about/mate-about.h
mate-about/mate-version.xml
libmate-desktop/Makefile
libmate-desktop/mate-desktop-2.0.pc