aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-03-01 11:45:48 +0200
committerArnold D. Robbins <arnold@skeeve.com>2019-03-01 11:45:48 +0200
commit826800b218c5be095f9471643fbda9b73185e8ab (patch)
tree985dcfe81145f0f7d4fbbbde8eb817fd43ffa1df
parent5a31075ed15365b4c932eb129976ac4f311571aa (diff)
downloadegawk-826800b218c5be095f9471643fbda9b73185e8ab.tar.gz
egawk-826800b218c5be095f9471643fbda9b73185e8ab.tar.bz2
egawk-826800b218c5be095f9471643fbda9b73185e8ab.zip
Fix Makefile.am so that make distcheck work again.
-rwxr-xr-xChangeLog6
-rw-r--r--Makefile.am1
-rw-r--r--Makefile.in1
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0bf2b115..33b68494 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-03-01 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.am (pc/Makefile.tst): Make sure pc/ directory exists
+ first. Neede for `make distcheck'. Not sure what changed such
+ that this is only showing up now.
+
2019-02-28 Arnold D. Robbins <arnold@skeeve.com>
* README.cvs: Removed. Six years is long enough.
diff --git a/Makefile.am b/Makefile.am
index bf924ed7..17b6eaae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -193,6 +193,7 @@ command.c: command.y
sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@
pc/Makefile.tst: test/Makefile.in
+ test -d pc || mkdir pc
cat "$(top_srcdir)"/pc/Makefile.tst.prologue > pc/Makefile.tst
awk -f "$(top_srcdir)"/pc/GenMakefileTst.awk test/Makefile.in >> pc/Makefile.tst
diff --git a/Makefile.in b/Makefile.in
index d900c673..089b57c1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1270,6 +1270,7 @@ command.c: command.y
sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@
pc/Makefile.tst: test/Makefile.in
+ test -d pc || mkdir pc
cat "$(top_srcdir)"/pc/Makefile.tst.prologue > pc/Makefile.tst
awk -f "$(top_srcdir)"/pc/GenMakefileTst.awk test/Makefile.in >> pc/Makefile.tst