pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Moved the code that installs check-files on the hoo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb315de44af0
branches:  trunk
changeset: 523359:eb315de44af0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 06 20:15:26 2007 +0000

description:
Moved the code that installs check-files on the hook from install.mk to
check-files.mk, for two reasons:

1. It belongs there.
2. Now check-files is run before check-perms and check-interpreter.

diffstat:

 mk/check/check-files.mk |  6 +++++-
 mk/install/install.mk   |  6 +-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r bb6c17d201ed -r eb315de44af0 mk/check/check-files.mk
--- a/mk/check/check-files.mk   Sat Jan 06 19:53:40 2007 +0000
+++ b/mk/check/check-files.mk   Sat Jan 06 20:15:26 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-files.mk,v 1.12 2006/12/15 13:15:06 martti Exp $
+# $NetBSD: check-files.mk,v 1.13 2007/01/06 20:15:26 rillig Exp $
 #
 # This file checks that the list of installed files matches the PLIST.
 # For that purpose it records the file list of LOCALBASE before and
@@ -144,6 +144,10 @@
 _CHECK_FILES_POST+=            ${_CHECK_FILES_POST.varbase}
 .endif
 
+.if empty(CHECK_FILES:M[nN][oO])
+privileged-install-hook: check-files
+.endif
+
 ###########################################################################
 # check-files-pre and check-files-post targets and subtargets
 #
diff -r bb6c17d201ed -r eb315de44af0 mk/install/install.mk
--- a/mk/install/install.mk     Sat Jan 06 19:53:40 2007 +0000
+++ b/mk/install/install.mk     Sat Jan 06 20:15:26 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.31 2006/11/12 00:51:00 rillig Exp $
+# $NetBSD: install.mk,v 1.32 2007/01/06 20:15:26 rillig Exp $
 #
 # This file provides the code for the "install" phase.
 #
@@ -173,10 +173,6 @@
 .endif
 _INSTALL_ALL_TARGETS+=         error-check
 
-.if empty(CHECK_FILES:M[nN][oO])
-privileged-install-hook: check-files
-.endif
-
 .PHONY: install-all su-install-all
 .  if !empty(_MAKE_INSTALL_AS_ROOT:M[Yy][Ee][Ss])
 install-all: su-target



Home | Main Index | Thread Index | Old Index