configure, data: create/install the gimp-release file.
This commit is contained in:
parent
ded382f8b7
commit
f98e506712
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue