1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

build: Create VERSION file via autoconf.

* Makefile.am (dist-hook): Remove creation of VERSION.
(EXTRA_DIST): Add VERSION.
* configure.ac: Let autoconf create VERSION.
This commit is contained in:
Werner Koch 2014-08-19 11:12:26 +02:00
parent e5da80bc18
commit 4fc1c712e9
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@ -157,3 +157,4 @@ tools/watchgnupg
tools/gpgtar
private-keys-v1.d/
x.parm
/VERSION

View File

@ -25,7 +25,7 @@ GITLOG_TO_CHANGELOG=gitlog-to-changelog
EXTRA_DIST = build-aux/config.rpath build-aux/potomo autogen.sh autogen.rc
ChangeLog-2011 po/ChangeLog-2011 build-aux/ChangeLog-2011 \
build-aux/gitlog-to-changelog \
VERSION build-aux/gitlog-to-changelog \
build-aux/git-log-fix build-aux/git-log-footer \
build-aux/speedo.mk README.GIT
@ -93,7 +93,6 @@ dist_doc_DATA = README
dist-hook: gen-ChangeLog
echo "$(VERSION)" > $(distdir)/VERSION
if HAVE_W32_SYSTEM
install-data-hook:

View File

@ -47,7 +47,7 @@ m4_define([mym4_isbeta], m4_argn(2, mym4_verslist))
m4_define([mym4_version], m4_argn(4, mym4_verslist))
m4_define([mym4_revision], m4_argn(7, mym4_verslist))
m4_define([mym4_revision_dec], m4_argn(8, mym4_verslist))
m4_esyscmd([echo ]mym4_version[>VERSION])
AC_INIT([mym4_package],[mym4_version], [http://bugs.gnupg.org])
NEED_GPG_ERROR_VERSION=1.13