diff options
author | wiz <wiz> | 2007-03-02 09:08:33 +0000 |
---|---|---|
committer | wiz <wiz> | 2007-03-02 09:08:33 +0000 |
commit | a05a429bfd798ff8c5067dcb4a8872fa6edee954 (patch) | |
tree | f0a935af036be11ba289b5c28e8d92ed77b3d899 /mk/install/install.mk | |
parent | c7b3075a4d961e150b71786e42628233484b8bae (diff) | |
download | pkgsrc-a05a429bfd798ff8c5067dcb4a8872fa6edee954.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/install.mk')
-rw-r--r-- | mk/install/install.mk | 10 |
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" |