summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-10 11:53:52 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-10 11:53:52 (EDT)
commitd8d1ce57487886490f7b517ac0f38aa1f7f19911 (patch)
tree7d6ed0865b6793207cb1312d04b39e0494e61011
parentc5dcb63d675899dea8d2d2aa8e79f0f9c59af7f6 (diff)
Makefile.in: Add note re: inference rules & POSIX.
-rw-r--r--Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 552d60c..ba96168 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -94,6 +94,13 @@ script = \
.SUFFIXES:
.SUFFIXES: .sh .sm .1in .1 .ms
+# XXX: Support for lists of multiple targets in inference rules doesn't appear
+# to be required by POSIX.1-2008 [1], but it exists in GNU Make and NetBSD
+# pmake. Expand this into separate rules if it is a problem with certain make
+# implementations.
+# [1]: Compare the inference and target rule definitions after fragments
+# <#tag_20_76_13_06> and <#tag_20_76_13_04> in
+# <http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html>.
.sh .sh.sm .1in.1:
@printf ' SED %s\n' '$@'
@sed '$(script)' '$(srcdir)/$?' >'$@'