summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Makefile.am1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5466e55..5d263a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2004-03-09 Werner Koch <wk@gnupg.org>
+ * Makefile.am (dist-hook): Create a VERSION file for use by mkdiff.
+
* src/Makefile.am (mkerrcodes.h): Let CPP work on a temporary file.
(CLEANFILES): Add that temporary file.
* configure.ac (AC_PROG_CPP): Added.
diff --git a/Makefile.am b/Makefile.am
index 76f4094..1039e29 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,3 +26,4 @@ EXTRA_DIST = autogen.sh config.rpath libgpg-error.spec.in
dist-hook:
sed -e 's/@pkg_version@/$(VERSION)/g' \
$(top_srcdir)/libgpg-error.spec.in > $(distdir)/libgpg-error.spec
+ @set -e; echo "$(VERSION)" > $(distdir)/VERSION