From 066a7b1974e68db56eb86b59f758ef5580473480 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 14 Oct 2019 00:22:29 +0200 Subject: 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 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') 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 -- cgit v1.2.1