summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-01-28 09:05:19 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-01-31 11:26:04 +0100
commitd8422c9488564396d19f7bda0318829e735f9a5a (patch)
treecf074f1746fcbed0f4a9bb824ada126f268bd62d /contrib
parenta0a4ca7d023f85185031ae5f8cbf2dd9102fd073 (diff)
downloadautomake-d8422c9488564396d19f7bda0318829e735f9a5a.tar.gz
[ng] general: GNU make doesn't support the '.MAKE' special target
The '.MAKE' special target can be used on NetBSD make to ensure that the recipes for the targets declared as its dependencies are executed also with "make -n". This special target does not work with GNU make though, so it's pointless to use it. To obtain a similar effect on GNU make, one can either prepend a recipe with the '+' modifier, or use the string '$(MAKE)' somewhere in the recipe text). * syntax-checks.mk (sc_no_dotmake_target): New syntax check, ensuring we don't use the '.MAKE' special target. (syntax_check_rules): Add it. * lib/am/install.am: Don't use the '.MAKE' target. * lib/am/subdirs.am: Likewise. * contrib/multilib/multilib.am: Likewise. * contrib/check-html.am: Likewise. * automake.in: Likewise.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/check-html.am1
-rw-r--r--contrib/multilib/multilib.am9
2 files changed, 4 insertions, 6 deletions
diff --git a/contrib/check-html.am b/contrib/check-html.am
index 7ddd948d4..9bba3910b 100644
--- a/contrib/check-html.am
+++ b/contrib/check-html.am
@@ -56,4 +56,3 @@ check-html recheck-html:
exit $$rv
.PHONY: check-html recheck-html
-.MAKE: check-html recheck-html
diff --git a/contrib/multilib/multilib.am b/contrib/multilib/multilib.am
index d829d73c3..5549d44e0 100644
--- a/contrib/multilib/multilib.am
+++ b/contrib/multilib/multilib.am
@@ -1,8 +1,7 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-## 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
-## Foundation, Inc.
+## Copyright (C) 1994-2012 Free Software Foundation, Inc.
+
## This Makefile.in is free software; the Free Software Foundation
## gives unlimited permission to copy and/or distribute it,
## with or without modifications, as long as this notice is preserved.
@@ -35,8 +34,8 @@ distclean-multi:
maintainer-clean-multi:
$(MULTICLEAN) DO=maintainer-clean multi-clean # $(MAKE)
-.MAKE .PHONY: all-multi clean-multi distclean-multi install-am \
- install-multi maintainer-clean-multi mostlyclean-multi
+.PHONY: all-multi clean-multi distclean-multi install-am \
+ install-multi maintainer-clean-multi mostlyclean-multi
install-exec-local: install-multi