diff options
author | jlam <jlam> | 2006-06-08 16:21:51 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-06-08 16:21:51 +0000 |
commit | c98a89a20aac3487d385dc46d9a21675deb99bbb (patch) | |
tree | 61905ff02708a31dd9bee7339e58939ad073b1c8 /mk/bsd.pkg.mk | |
parent | 9c52adc80e7315c31336b6019d256a28f3c58819 (diff) | |
download | pkgsrc-c98a89a20aac3487d385dc46d9a21675deb99bbb.tar.gz |
Introduce "makedirs" as a helper target to create directories with
unprivileged ownership.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 844059a54f0..955ee206169 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1847 2006/06/08 08:01:53 rillig Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1848 2006/06/08 16:21:51 jlam Exp $ # # This file is in the public domain. # @@ -843,6 +843,9 @@ release-lock: .USE ${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${_LOCKFILE} .endif +.PHONY: makedirs +makedirs: ${WRKDIR} + ${WRKDIR}: .if !defined(KEEP_WRKDIR) . if ${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once" |