summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-05-13 11:30:28 -0400
committerArnold D. Robbins <arnold@skeeve.com>2018-05-13 11:30:28 -0400
commit525c2d59a50d5814f42a9335a0c64376afa71409 (patch)
tree317d85969616e90ab06dca183c2044fcea0cfd12 /Makefile.in
parent85c609c42657b36dbfbde7528d9d6fd998da0fe4 (diff)
downloadgawk-525c2d59a50d5814f42a9335a0c64376afa71409.tar.gz
Major improvements to test infrastructure.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index ade98358..67c6af0c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1179,7 +1179,7 @@ check-local: gawk$(EXEEXT)
# A little extra clean up when making distributions.
# And additional set up for the pc directory.
-dist-hook:
+dist-hook: pc/Makefile.tst
cd "$(distdir)"/extension ; rm -f *.o *.so
cd "$(srcdir)"/pc ; \
chmod u+w config.h ; \
@@ -1201,6 +1201,9 @@ command.c: command.y
$(YACC) -o $@ -p zz $<
sed 's/parse error/syntax error/g' < $@ > $@.tmp && mv $@.tmp $@
+pc/Makefile.tst: test/Makefile.in
+ cd pc && awk -f GenMakefileTst.awk ../test/Makefile.in > Makefile.tst
+
# This is for my development & testing.
efence: gawk
$(CC) $(LDFLAGS) -o gawk $$(ls *.o | grep -v '_p.o$$') $(LDADD) $(LIBS) -lefence