mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 17:00:49 +01:00
Add an mtree line to the install target.
This commit is contained in:
parent
c5e15878bd
commit
d6d644f14f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8223
@ -3,7 +3,7 @@
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.151 1995/04/28 15:40:37 jkh Exp $
|
||||
# $Id: bsd.port.mk,v 1.152 1995/04/30 12:28:43 asami Exp $
|
||||
#
|
||||
# Please view me with 4 column tabs!
|
||||
|
||||
@ -237,6 +237,8 @@ EXTRACT_BEFORE_ARGS?= -xzf
|
||||
.if !defined(MTREE_LOCAL) && exists(/etc/mtree/BSD.local.dist)
|
||||
MTREE_LOCAL= /etc/mtree/BSD.local.dist
|
||||
.endif
|
||||
MTREE_CMD?= mtree
|
||||
MTREE_ARGS?= -U -f ${MTREE_LOCAL} -d -e -p
|
||||
|
||||
PKG_CMD?= pkg_create
|
||||
.if !defined(PKG_ARGS)
|
||||
@ -731,6 +733,9 @@ install: build ${INSTALL_COOKIE}
|
||||
|
||||
${INSTALL_COOKIE}:
|
||||
@${ECHO_MSG} "===> Installing for ${PKGNAME}"
|
||||
.if !defined(USE_X11) && !defined(USE_IMAKE) && defined(MTREE_LOCAL)
|
||||
${MTREE_CMD} ${MTREE_ARGS} ${PREFIX}/;
|
||||
.endif
|
||||
.if target(pre-install)
|
||||
@${MAKE} ${.MAKEFLAGS} pre-install
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user