summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-03-02 09:08:33 +0000
committerwiz <wiz@pkgsrc.org>2007-03-02 09:08:33 +0000
commit5dce6c7d9d7da673f8a6e7edb6658efe77c38d83 (patch)
treef0a935af036be11ba289b5c28e8d92ed77b3d899 /mk/install
parent1520ab35d5edb070f425dde017be365b54c4f693 (diff)
downloadpkgsrc-5dce6c7d9d7da673f8a6e7edb6658efe77c38d83.tar.gz
Make MTREE_FILE and MTREE_ARGS internal by prefixing them with '_'.
They are not supposed to be set by the user.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/install.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/install/install.mk b/mk/install/install.mk
index 9262b80635f..cb85ba0fe02 100644
--- a/mk/install/install.mk
+++ b/mk/install/install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.34 2007/03/02 08:49:40 wiz Exp $
+# $NetBSD: install.mk,v 1.35 2007/03/02 09:08:33 wiz Exp $
#
# This file provides the code for the "install" phase.
#
@@ -231,15 +231,15 @@ install-check-umask:
### then it's known to pre-create all of the directories that it needs
### at install-time, so we don't need mtree to do it for us.
###
-MTREE_FILE?= ${PKGSRCDIR}/mk/platform/${OPSYS}.pkg.dist
-MTREE_ARGS?= -U -f ${MTREE_FILE} -d -e -p
+_MTREE_FILE?= ${PKGSRCDIR}/mk/platform/${OPSYS}.pkg.dist
+_MTREE_ARGS?= -U -f ${_MTREE_FILE} -d -e -p
.PHONY: install-makedirs
install-makedirs:
${_PKG_SILENT}${_PKG_DEBUG}${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}
.if !defined(NO_MTREE)
- ${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${MTREE_FILE} || \
- ${MTREE} ${MTREE_ARGS} ${DESTDIR}${PREFIX}/
+ ${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${_MTREE_FILE} || \
+ ${MTREE} ${_MTREE_ARGS} ${DESTDIR}${PREFIX}/
.endif
.if defined(INSTALLATION_DIRS) && !empty(INSTALLATION_DIRS)
@${STEP_MSG} "Creating installation directories"