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
commitaef175f8f516df24f40c46fa35665354a0c20eed (patch)
tree09527e29e827d4068f8cf79645db002fa7e0f4f8 /mk/install
parentc4a52a0b3dd7932e34e3a44b060fa36b7309a851 (diff)
downloadpkgsrc-aef175f8f516df24f40c46fa35665354a0c20eed.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])