aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am5
-rw-r--r--Makefile.in5
-rw-r--r--pc/config.h6
4 files changed, 17 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 17663d69..5c7b335a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-01-31 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.am (dist-hook): Improve creation of pc/config.h. We
+ have to jump through a lot of hoops for 'make distcheck' to
+ actually work.
+
2014-01-30 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (dist-hook): Improve creation of pc/config.h to copy
diff --git a/Makefile.am b/Makefile.am
index ee70378a..a8acdc48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -172,11 +172,14 @@ check-local: gawk$(EXEEXT)
dist-hook:
cd $(distdir)/extension ; rm -f *.o *.so
cd $(srcdir)/pc ; \
+ chmod u+w config.h ; \
sed -n -f configpk.sed < ../configure.ac > /tmp/tmp.sed ; \
sed -f config.sed < ../configh.in > /tmp/config.tmp ; \
sed -f /tmp/tmp.sed < /tmp/config.tmp > config.h ; \
$(RM) /tmp/tmp.sed /tmp/config.tmp
- cp pc/config.h $(distdir)/pc/config.h
+ pwd
+ chmod u+w $(distdir)/pc/config.h
+ cp $(srcdir)/pc/config.h $(distdir)/pc/config.h
# Special rules for individual files
# Use of awk instead of $(AWK) is deliberate, in case gawk doesn't build
diff --git a/Makefile.in b/Makefile.in
index 65efdf34..4fed13ff 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1171,11 +1171,14 @@ check-local: gawk$(EXEEXT)
dist-hook:
cd $(distdir)/extension ; rm -f *.o *.so
cd $(srcdir)/pc ; \
+ chmod u+w config.h ; \
sed -n -f configpk.sed < ../configure.ac > /tmp/tmp.sed ; \
sed -f config.sed < ../configh.in > /tmp/config.tmp ; \
sed -f /tmp/tmp.sed < /tmp/config.tmp > config.h ; \
$(RM) /tmp/tmp.sed /tmp/config.tmp
- cp pc/config.h $(distdir)/pc/config.h
+ pwd
+ chmod u+w $(distdir)/pc/config.h
+ cp $(srcdir)/pc/config.h $(distdir)/pc/config.h
# Special rules for individual files
# Use of awk instead of $(AWK) is deliberate, in case gawk doesn't build
diff --git a/pc/config.h b/pc/config.h
index cd489877..d7f9ba91 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -423,7 +423,7 @@
#define PACKAGE_NAME "GNU Awk"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU Awk 4.1.0c"
+#define PACKAGE_STRING "GNU Awk 4.1.0d"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gawk"
@@ -432,7 +432,7 @@
#define PACKAGE_URL "http://www.gnu.org/software/gawk/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "4.1.0c"
+#define PACKAGE_VERSION "4.1.0d"
/* Define to 1 if *printf supports %F format */
#undef PRINTF_HAS_F_FORMAT
@@ -494,7 +494,7 @@
/* Version number of package */
-#define VERSION "4.1.0c"
+#define VERSION "4.1.0d"
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE