aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-03-09 15:21:00 +0000
committerWerner Koch <[email protected]>2004-03-09 15:21:00 +0000
commit1584d44bcf3912d00e0481768bbd59e01a641a4c (patch)
tree9095ca2ad6f149d1c7d21172f69ad1b97a4ca0ec
parent* src/Makefile.am (mkerrcodes.h): Let CPP work on a temporary file. (diff)
downloadlibgpg-error-1584d44bcf3912d00e0481768bbd59e01a641a4c.tar.gz
libgpg-error-1584d44bcf3912d00e0481768bbd59e01a641a4c.zip
* Makefile.am (dist-hook): Create a VERSION file for use by mkdiff.
-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 <[email protected]>
+ * 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