diff options
author | NIIBE Yutaka <[email protected]> | 2018-10-10 04:39:42 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-10-10 04:39:42 +0000 |
commit | 85dd0fa4b5f026a13da842bf64ab8a37a68918d4 (patch) | |
tree | 7f8fbefb7715277302bea20e41b903734aef2c89 /Makefile.am | |
parent | cpp: Add KeyListMode::Locate (diff) | |
download | gpgme-85dd0fa4b5f026a13da842bf64ab8a37a68918d4.tar.gz gpgme-85dd0fa4b5f026a13da842bf64ab8a37a68918d4.zip |
build: Let configure create the VERSION file.
* autogen.sh: Update from libgpg-error.
* configure.ac: Use mym4_version to create VERSION file.
* Makefile.am (dist-hook): Do not create VERSION.
(EXTRA_DIST): Add VERSION.
--
GnuPG-bug-id: 3283
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 829cf14e..1264618f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,7 +35,7 @@ DISTCHECK_CONFIGURE_FLAGS = EXTRA_DIST = autogen.sh autogen.rc gpgme.spec.in \ ChangeLog-2011 m4/ChangeLog-2011 contrib/ChangeLog-2011 \ - conf/whatisthis + conf/whatisthis VERSION if RUN_GPG_TESTS @@ -46,13 +46,11 @@ endif SUBDIRS = src ${tests} doc lang -# Fix the version of the spec file and create a file named VERSION -# to be used for patch's Prereq: feature. +# Fix the version of the spec file. dist-hook: gen-ChangeLog @set -e; \ sed -e 's/@pkg_version@/$(PACKAGE_VERSION)/g' \ $(top_srcdir)/gpgme.spec.in > $(distdir)/gpgme.spec - echo "$(PACKAGE_VERSION)" > $(distdir)/VERSION distcheck-hook: set -e; ( \ |