summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.1
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-10-12 21:44:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-10-12 21:44:20 +0000
commitd64c1c8cefe12e118c98d1f9acc98d7577348247 (patch)
tree795f0220e656bcc396dcc5bc2995017771ca63d6 /usr.bin/make/make.1
parentb187a17b6078410440d7f9e68f33e83d49ddaf04 (diff)
Document duplicate inference rules. That's posix behavior, and what we do.
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r--usr.bin/make/make.17
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 23b169fe797..7e94424dad7 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: make.1,v 1.99 2012/10/11 14:56:59 espie Exp $
+.\" $OpenBSD: make.1,v 1.100 2012/10/12 21:44:19 espie Exp $
.\" $NetBSD: make.1,v 1.18 1997/03/10 21:19:53 christos Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94
.\"
-.Dd $Mdocdate: October 11 2012 $
+.Dd $Mdocdate: October 12 2012 $
.Dt MAKE 1
.Os
.Sh NAME
@@ -486,6 +486,9 @@ but inference rules already read are still known by
and they are marked as inactive.
Redefining the corresponding suffix (or suffixes) will re-active the rule.
.Pp
+In case of duplicate inference rules with the same suffix combination,
+the new rule overrides the old one.
+.Pp
For maximal portability, suffixes should start with a dot.
.Sh VARIABLE ASSIGNMENTS
Variables in