configure, data: create/install the gimp-release file.

(cherry picked from commit f98e506712)
This commit is contained in:
Jehan
2020-02-14 00:56:22 +01:00
parent ae2aa6c79b
commit 990250c517
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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