summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-13 06:32:15 +0000
committerrillig <rillig@pkgsrc.org>2006-10-13 06:32:15 +0000
commit20d92f3be1177801891be5011a27bf9b27bb42c5 (patch)
tree09527e29e827d4068f8cf79645db002fa7e0f4f8 /mk/install
parentb49d90f8c6e0fe382e3f3ac64556f4e9852dafa7 (diff)
downloadpkgsrc-20d92f3be1177801891be5011a27bf9b27bb42c5.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])