aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-10-04 11:22:56 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-10-04 11:22:56 +0300
commit2626d04d332dd87d4e6e9effe943dd6aa3d21cac (patch)
tree705737cb3eda7b80afaec1c0b22c620491e212e0 /test
parentb08964cd1db8da56e2a16cebde05d493d4f6ae1b (diff)
parentd992c45de5c007fc28a8e0cafec81bb9308a342c (diff)
downloadegawk-2626d04d332dd87d4e6e9effe943dd6aa3d21cac.tar.gz
egawk-2626d04d332dd87d4e6e9effe943dd6aa3d21cac.tar.bz2
egawk-2626d04d332dd87d4e6e9effe943dd6aa3d21cac.zip
Merge branch 'gawk-4.1-stable' (zOS updates included)
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog8
-rw-r--r--test/Makefile.am6
-rw-r--r--test/Makefile.in27
3 files changed, 25 insertions, 16 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 2e4217f2..d6cbb95c 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -12,6 +12,14 @@
* profile.ok: Updated after code change.
+2015-08-28 Daniel Richard G. <skunk@iSKUNK.ORG>
+
+ * Makefile.am: Generate the Maketests file without
+ reference to its directory, because putting it directly into
+ srcdir can be problematic (e.g. srcdir could be read-only).
+ (clean-local): Renamed from "clean", as Automake already defines
+ "clean" and warns us as much.
+
2015-08-25 Arnold D. Robbins <arnold@skeeve.com>
* mbstr1.ok: Updated after code change.
diff --git a/test/Makefile.am b/test/Makefile.am
index 9545920c..e6c623f7 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2184,11 +2184,11 @@ muldimposix::
# Targets generated for other tests:
include Maketests
-$(srcdir)/Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
+Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
files=`cd "$(srcdir)" && echo *.awk *.in`; \
- $(AWK) -f "$(srcdir)"/Gentests "$(srcdir)"/Makefile.am $$files > "$(srcdir)"/Maketests
+ $(AWK) -f "$(srcdir)"/Gentests "$(srcdir)"/Makefile.am $$files > $@
-clean:
+clean-local:
rm -fr _* core core.* fmtspcl.ok junk strftime.ok test1 test2 \
seq *~ readfile.ok fork.tmp.* testext.awk fts.ok readdir.ok \
mmap8k.ok profile1.ok
diff --git a/test/Makefile.in b/test/Makefile.in
index ce791a2f..1cced4ac 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1547,7 +1547,9 @@ distclean-generic:
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-clean-am: clean-generic mostlyclean-am
+clean: clean-am
+
+clean-am: clean-generic clean-local mostlyclean-am
distclean: distclean-am
-rm -f Makefile
@@ -1613,14 +1615,14 @@ uninstall-am:
.MAKE: install-am install-strip
-.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
- ctags-am distclean distclean-generic distdir dvi dvi-am html \
- html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
+.PHONY: all all-am check check-am clean clean-generic clean-local \
+ cscopelist-am ctags-am distclean distclean-generic distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am tags-am uninstall uninstall-am
@@ -2616,7 +2618,6 @@ muldimposix::
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f $@.awk --posix >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
-
Gt-dummy:
# file Maketests, generated from Makefile.am by the Gentests program
addcomma:
@@ -4099,11 +4100,11 @@ time:
# Targets generated for other tests:
-$(srcdir)/Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
+Maketests: $(srcdir)/Makefile.am $(srcdir)/Gentests
files=`cd "$(srcdir)" && echo *.awk *.in`; \
- $(AWK) -f "$(srcdir)"/Gentests "$(srcdir)"/Makefile.am $$files > "$(srcdir)"/Maketests
+ $(AWK) -f "$(srcdir)"/Gentests "$(srcdir)"/Makefile.am $$files > $@
-clean:
+clean-local:
rm -fr _* core core.* fmtspcl.ok junk strftime.ok test1 test2 \
seq *~ readfile.ok fork.tmp.* testext.awk fts.ok readdir.ok \
mmap8k.ok profile1.ok