configure, data: create/install the gimp-release file.
(cherry picked from commit f98e506712
)
This commit is contained in:
@ -2570,10 +2570,10 @@ AC_DEFINE_UNQUOTED(GIMP_BUILD_ID, "$with_build_id",
|
|||||||
[The string defining the build])
|
[The string defining the build])
|
||||||
|
|
||||||
AC_ARG_WITH(revision,
|
AC_ARG_WITH(revision,
|
||||||
[ --with-revision Revision increment for a same build/version/platform],,
|
[ --with-revision Revision increment for a package],,
|
||||||
[with_revision="0"])
|
[with_revision="0"])
|
||||||
AC_DEFINE_UNQUOTED(GIMP_BUILD_REVISION, $with_revision,
|
GIMP_PACKAGE_REVISION=$with_revision
|
||||||
[The revision increment for a same build/version/platform])
|
AC_SUBST(GIMP_PACKAGE_REVISION)
|
||||||
|
|
||||||
AC_ARG_ENABLE(check-update,
|
AC_ARG_ENABLE(check-update,
|
||||||
[ --disable-check-update
|
[ --disable-check-update
|
||||||
|
@ -17,3 +17,5 @@ fontdir = $(gimpdatadir)/fonts
|
|||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(fontdir)
|
$(mkinstalldirs) $(DESTDIR)$(fontdir)
|
||||||
|
echo '[package]' > $(DESTDIR)$(gimpdatadir)/gimp-release
|
||||||
|
echo 'revision=@GIMP_PACKAGE_REVISION@' >> $(DESTDIR)$(gimpdatadir)/gimp-release
|
||||||
|
Reference in New Issue
Block a user