summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-11-03 11:14:24 +0000
committerGary V. Vaughan <gary@gnu.org>2014-11-03 11:14:24 +0000
commit41548b4e7a27579129e7655c3230d3cc5d48ecfe (patch)
treeeccf2c3ebead5f95782f64d679bf0e679d3fa849
parent50a2dc6a12f2a8e86f6c81d12ab66a29f911fffb (diff)
downloadlibtool-41548b4e7a27579129e7655c3230d3cc5d48ecfe.tar.gz
maint: .PHONY rules to protect gmake from pathological file names.
* Makefile.am (.PHONY): Add install-scripts-local, check-interactive, check-noninteractive-old, check-noninteractive-new and check-noninteractive. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0d39d664..b47f0013 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -510,6 +510,7 @@ install-data-local: $(lt_Makefile_in) install-scripts-local
done
chmod a+x '$(DESTDIR)$(pkgdatadir)/configure'
+.PHONY: install-scripts-local
install-scripts-local: $(lt_Makefile_in)
## Inline helper-scripts for installed libtoolize script
@p=`echo libtoolize |sed -e '$(transform)'`; \
@@ -790,10 +791,12 @@ installcheck-local: $(testsuite_deps)
$(TESTS_ENVIRONMENT) $(INSTALLCHECK_ENVIRONMENT) $(TESTSUITEFLAGS) \
AUTOTEST_PATH='$(exec_prefix)/bin'
+.PHONY: check-noninteractive-old
check-noninteractive-old:
$(AM_V_at)'$(MAKE)' $(AM_MAKEFLAGS) check-TESTS TESTS='$(TESTS)'
# Run only noninteractive parts of the new testsuite.
+.PHONY: check-noninteractive-new
check-noninteractive-new: $(testsuite_deps_uninstalled)
$(AM_V_at)$(CD_TESTDIR); \
CONFIG_SHELL='$(SHELL)' '$(SHELL)' "$$abs_srcdir/$(TESTSUITE)" \
@@ -802,6 +805,7 @@ check-noninteractive-new: $(testsuite_deps_uninstalled)
$(TESTSUITEFLAGS)
# Run only interactive parts of the new testsuite.
+.PHONY: check-interactive
check-interactive: $(testsuite_deps_uninstalled)
$(AM_V_at)$(CD_TESTDIR); \
CONFIG_SHELL='$(SHELL)' '$(SHELL)' "$$abs_srcdir/$(TESTSUITE)" \
@@ -809,6 +813,7 @@ check-interactive: $(testsuite_deps_uninstalled)
-k interactive -k recursive INNER_TESTSUITEFLAGS=',interactive' \
$(TESTSUITEFLAGS)
+.PHONY: check-noninteractive
check-noninteractive: check-noninteractive-old check-noninteractive-new
# We need to remove any file droppings left behind by testsuite