Commit f98e5067 authored by Jehan's avatar Jehan

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

parent ded382f8
......@@ -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
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment