--- make-4.1.orig/Makefile.in Sun Oct 5 09:25:22 2014
+++ make-4.1/Makefile.in Sat Oct 31 13:56:50 2015
@@ -1265,6 +1265,26 @@
echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
fi
+system-test:
+ @if test -f "$(srcdir)/tests/run_make_tests"; then \
+ if $(PERL) -v >/dev/null 2>&1; then \
+ case `cd $(srcdir); pwd` in `pwd`) : ;; \
+ *) test -d tests || mkdir tests; \
+ rm -f srctests; \
+ if ln -s "$(srcdir)/tests" srctests; then \
+ for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
+ rm -f tests/$$f; ln -s ../srctests/$$f tests; \
+ done; fi ;; \
+ esac; \
+ echo "cd tests && $(PERL) ./run_make_tests.pl -make /usr/bin/gmake $(MAKETESTFLAGS)"; \
+ cd tests && $(PERL) ./run_make_tests.pl -make /usr/bin/gmake $(MAKETESTFLAGS); \
+ else \
+ echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
+ fi; \
+ else \
+ echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
+ fi
+
# --------------- Maintainer's Section
# Tell automake that I haven't forgotten about this file and it will be