Fix examples for overriding INSTALL to not suggest hardcoding

'install' since it breaks buildworld after the introduction and
use of 'install -l' in r245752. Overriding INSTALL causes
/usr/bin/install to be used instead of the proper
/usr/src/tools/install.sh which handles the new flag.

Approved by:	bapt
MFC after:	2 weeks
This commit is contained in:
Bryan Drewery 2013-04-26 19:56:14 +00:00
parent 0425e01683
commit fdcb645387
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249952
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@
#COPTFLAGS= -O -pipe #COPTFLAGS= -O -pipe
# #
# Compare before install. # Compare before install.
#INSTALL=install -C #INSTALL+= -C
# #
# Mtree will follow symlinks. # Mtree will follow symlinks.
#MTREE_FOLLOWS_SYMLINKS= -L #MTREE_FOLLOWS_SYMLINKS= -L

View File

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd January 21, 2013 .Dd April 26, 2013
.Dt MAKE.CONF 5 .Dt MAKE.CONF 5
.Os .Os
.Sh NAME .Sh NAME
@ -205,7 +205,7 @@ instead of
the default install command. the default install command.
To install only files for which the target differs or does not exist, use To install only files for which the target differs or does not exist, use
.Bd -literal -offset indent .Bd -literal -offset indent
INSTALL="install -C" INSTALL+= -C
.Ed .Ed
Note that some makefiles (including those in Note that some makefiles (including those in
.Pa /usr/share/mk ) .Pa /usr/share/mk )