[gimp] configure, data: create/install the gimp-release file.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] configure, data: create/install the gimp-release file.
- Date: Thu, 13 Feb 2020 23:59:27 +0000 (UTC)
commit f98e506712fe0aec70d678698d3236e81f9683f4
Author: Jehan <jehan girinstud io>
Date: Fri Feb 14 00:56:22 2020 +0100
configure, data: create/install the gimp-release file.
configure.ac | 6 +++---
data/Makefile.am | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6ad90b172f..380cbd5ec7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2647,10 +2647,10 @@ AC_DEFINE_UNQUOTED(GIMP_BUILD_ID, "$with_build_id",
[The string defining the build])
AC_ARG_WITH(revision,
- [ --with-revision Revision increment for a same build/version/platform],,
+ [ --with-revision Revision increment for a package],,
[with_revision="0"])
-AC_DEFINE_UNQUOTED(GIMP_BUILD_REVISION, $with_revision,
- [The revision increment for a same build/version/platform])
+GIMP_PACKAGE_REVISION=$with_revision
+AC_SUBST(GIMP_PACKAGE_REVISION)
AC_ARG_ENABLE(check-update,
[ --disable-check-update
diff --git a/data/Makefile.am b/data/Makefile.am
index 10c6238f9e..09977daed4 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -17,3 +17,5 @@ fontdir = $(gimpdatadir)/fonts
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(fontdir)
+ echo '[package]' > $(DESTDIR)$(gimpdatadir)/gimp-release
+ echo 'revision=@GIMP_PACKAGE_REVISION@' >> $(DESTDIR)$(gimpdatadir)/gimp-release
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]