summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorrillig <rillig>2006-10-13 06:32:15 +0000
committerrillig <rillig>2006-10-13 06:32:15 +0000
commit72f2ec6c58c0c52499b8507301029ab8cc4ac5c1 (patch)
tree09527e29e827d4068f8cf79645db002fa7e0f4f8 /mk/install
parent3600f2a58c1f50ec1dbb31067053a9cf79a53a32 (diff)
downloadpkgsrc-72f2ec6c58c0c52499b8507301029ab8cc4ac5c1.tar.gz
Added a new post-installation check to see whether the files have their
permissions properly set. See mk/check/check-perms.mk and sysutils/checkperms for details.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/install.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/install/install.mk b/mk/install/install.mk
index 99bed60bcf7..8fdd976df0e 100644
--- a/mk/install/install.mk
+++ b/mk/install/install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.22 2006/10/09 12:25:44 joerg Exp $
+# $NetBSD: install.mk,v 1.23 2006/10/13 06:32:15 rillig Exp $
######################################################################
### install (PUBLIC)
@@ -169,6 +169,9 @@ privileged-install-hook: check-files
.if empty(CHECK_INTERPRETER:M[nN][oO])
privileged-install-hook: check-interpreter
.endif
+.if empty(CHECK_PERMS:M[nN][oO])
+privileged-install-hook: check-perms
+.endif
.PHONY: install-all su-install-all
. if !empty(_MAKE_INSTALL_AS_ROOT:M[Yy][Ee][Ss])