Makefile.patch revision 4339
4339N/A--- make-3.82/Makefile.in.orig Tue Apr 14 12:59:38 2015
4339N/A+++ make-3.82/Makefile.in Tue Apr 14 13:00:41 2015
4339N/A@@ -1116,6 +1116,26 @@
4339N/A echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
4339N/A fi
4339N/A
4339N/A+system-test:
4339N/A+ @if test -f "$(srcdir)/tests/run_make_tests"; then \
4339N/A+ if $(PERL) -v >/dev/null 2>&1; then \
4339N/A+ case `cd $(srcdir); pwd` in `pwd`) : ;; \
4339N/A+ *) test -d tests || mkdir tests; \
4339N/A+ rm -f srctests; \
4339N/A+ if ln -s "$(srcdir)/tests" srctests; then \
4339N/A+ for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
4339N/A+ rm -f tests/$$f; ln -s ../srctests/$$f tests; \
4339N/A+ done; fi ;; \
4339N/A+ esac; \
4339N/A+ echo "cd tests && $(PERL) ./run_make_tests.pl -make /usr/bin/gmake $(MAKETESTFLAGS)"; \
4339N/A+ cd tests && $(PERL) ./run_make_tests.pl -make /usr/bin/gmake $(MAKETESTFLAGS); \
4339N/A+ else \
4339N/A+ echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
4339N/A+ fi; \
4339N/A+ else \
4339N/A+ echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
4339N/A+ fi
4339N/A+
4339N/A # --------------- Maintainer's Section
4339N/A
4339N/A # Tell automake that I haven't forgotten about this file and it will be