diff options
author | Werner Koch <wk@gnupg.org> | 2000-10-10 18:25:12 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2000-10-10 18:25:12 +0200 |
commit | 7c18f2cccef3f879893ddd234674fc5ee410e032 (patch) | |
tree | aa658c0fd17c3abcaddf46b948975b00b03effc8 /Makefile.am | |
parent | Changed keyring handling - saving still does not work. (diff) | |
download | gnupg2-7c18f2cccef3f879893ddd234674fc5ee410e032.tar.xz gnupg2-7c18f2cccef3f879893ddd234674fc5ee410e032.zip |
configuraton changes, make dist should work now.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index b9983fd19..829715459 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,12 +25,16 @@ endif SUBDIRS = intl zlib jnlib util mpi cipher ${gcrypt} g10 po tools \ ${agent} doc ${checks} -EXTRA_DIST = README-alpha VERSION PROJECTS BUGS +EXTRA_DIST = README-alpha PROJECTS BUGS # gettext never gets it right, so we take here care of deleting the # symlink. my_clean_gcrypt is just a kludge until we can include # libgcrypt. DISTCLEANFILES = gnupg-defs.h intl/libintl.h ${my_clean_gcrypt} + +# Add all the files listed in "distfiles" files to the distribution, +# apply version number s to some files and create a VERSION file which +# we need for the Prereq: patch file trick. dist-hook: @set -e; \ for file in `cd $(top_srcdir); find . -type f -name distfiles`; do \ @@ -43,7 +47,8 @@ dist-hook: @set -e; \ sed -e 's/@pkg_version@/$(VERSION)/g' \ $(top_srcdir)/scripts/gnupg.spec.in \ - > $(distdir)/scripts/gnupg.spec + > $(distdir)/scripts/gnupg.spec ; \ + echo "$(VERSION)" > $(distdir)/VERSION if MAINTAINER_MODE |