[Midnightbsd-cvs] src [9347] trunk/share: Fix examples for overriding INSTALL to not suggest hardcoding

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 4 11:46:41 EST 2017


Revision: 9347
          http://svnweb.midnightbsd.org/src/?rev=9347
Author:   laffer1
Date:     2017-03-04 11:46:41 -0500 (Sat, 04 Mar 2017)
Log Message:
-----------
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.

Obtained from: FreeBSD

Revision Links:
--------------
    http://svnweb.midnightbsd.org/src/?rev=245752

Modified Paths:
--------------
    trunk/share/examples/etc/make.conf
    trunk/share/man/man5/make.conf.5

Modified: trunk/share/examples/etc/make.conf
===================================================================
--- trunk/share/examples/etc/make.conf	2017-03-04 16:46:02 UTC (rev 9346)
+++ trunk/share/examples/etc/make.conf	2017-03-04 16:46:41 UTC (rev 9347)
@@ -92,7 +92,7 @@
 #COPTFLAGS= -O -pipe
 #
 # Compare before install
-#INSTALL=install -C
+#INSTALL+= -C
 #
 # Mtree will follow symlinks
 #MTREE_FOLLOWS_SYMLINKS= -L

Modified: trunk/share/man/man5/make.conf.5
===================================================================
--- trunk/share/man/man5/make.conf.5	2017-03-04 16:46:02 UTC (rev 9346)
+++ trunk/share/man/man5/make.conf.5	2017-03-04 16:46:41 UTC (rev 9347)
@@ -24,7 +24,7 @@
 .\"
 .\" $MidnightBSD$
 .\"
-.Dd January 21, 2013
+.Dd April 26, 2013
 .Dt MAKE.CONF 5
 .Os
 .Sh NAME
@@ -205,7 +205,7 @@
 the default install command.
 To install only files for which the target differs or does not exist, use
 .Bd -literal -offset indent
-INSTALL="install -C"
+INSTALL+= -C
 .Ed
 Note that some makefiles (including those in
 .Pa /usr/share/mk )



More information about the Midnightbsd-cvs mailing list