[gimp/gimp-2-10] configure, data: create/install the gimp-release file.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] configure, data: create/install the gimp-release file.
- Date: Fri, 14 Feb 2020 00:01:39 +0000 (UTC)
commit 990250c517f26e73a23842f1aa8514afcfb2a9cd
Author: Jehan <jehan girinstud io>
Date: Fri Feb 14 00:56:22 2020 +0100
configure, data: create/install the gimp-release file.
(cherry picked from commit f98e506712fe0aec70d678698d3236e81f9683f4)
configure.ac | 6 +++---
data/Makefile.am | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 83b2cdbb6f..9c75d5884a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2570,10 +2570,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]