summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-03-09 15:21:00 +0000
committerWerner Koch <wk@gnupg.org>2004-03-09 15:21:00 +0000
commit1584d44bcf3912d00e0481768bbd59e01a641a4c (patch)
tree9095ca2ad6f149d1c7d21172f69ad1b97a4ca0ec /Makefile.am
parentf05bbd1ccf374e8efce25b686b8760b9309cf314 (diff)
downloadlibgpg-error-1584d44bcf3912d00e0481768bbd59e01a641a4c.tar.gz
* Makefile.am (dist-hook): Create a VERSION file for use by mkdiff.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
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