Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2018 22:22:06 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338361 - head/share/mk
Message-ID:  <201808282222.w7SMM6R1025373@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Tue Aug 28 22:22:06 2018
New Revision: 338361
URL: https://svnweb.freebsd.org/changeset/base/338361

Log:
  Add beforeinstallconfig to bsd.confs.mk to enable running commands prior to
  the installconfig target.
  
  Approved by:	re (rgrimes), bapt (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16874

Modified:
  head/share/mk/bsd.confs.mk

Modified: head/share/mk/bsd.confs.mk
==============================================================================
--- head/share/mk/bsd.confs.mk	Tue Aug 28 21:09:19 2018	(r338360)
+++ head/share/mk/bsd.confs.mk	Tue Aug 28 22:22:06 2018	(r338361)
@@ -29,8 +29,11 @@ all: buildconfig
 .      if !target(afterinstallconfig)
 afterinstallconfig:
 .      endif
-installconfig:	realinstallconfig afterinstallconfig
-.ORDER:		realinstallconfig afterinstallconfig
+.      if !target(beforeinstallconfig)
+beforeinstallconfig:
+.      endif
+installconfig:	beforeinstallconfig realinstallconfig afterinstallconfig
+.ORDER:		beforeinstallconfig realinstallconfig afterinstallconfig
 
 ${group}OWN?=	${SHAREOWN}
 ${group}GRP?=	${SHAREGRP}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808282222.w7SMM6R1025373>