summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-11-09 21:29:26 +0000
committerrillig <rillig>2006-11-09 21:29:26 +0000
commit0b74bfe1ae8f969d58c4a9cbd0474a1b0e5dca85 (patch)
treeee3f485c17f83881610d8a39f88a9701f8f8b635
parentc915db59197824d4dea46c1f372c65aa1683b90b (diff)
downloadpkgsrc-0b74bfe1ae8f969d58c4a9cbd0474a1b0e5dca85.tar.gz
Added documentation.
-rw-r--r--mk/check/check-files.mk34
1 files changed, 26 insertions, 8 deletions
diff --git a/mk/check/check-files.mk b/mk/check/check-files.mk
index 7a2170b58a6..9f33fcf93da 100644
--- a/mk/check/check-files.mk
+++ b/mk/check/check-files.mk
@@ -1,18 +1,36 @@
-# $NetBSD: check-files.mk,v 1.9 2006/10/09 12:25:44 joerg Exp $
+# $NetBSD: check-files.mk,v 1.10 2006/11/09 21:29: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
+# after the installation of the package and compares these lists with
+# the PLIST.
+#
+# User-settable variables:
+#
+# CHECK_FILES
+# "yes" to enable the check, "no" to disable it.
+#
+# Default value: "yes" for PKG_DEVELOPERs, "no" otherwise.
+#
+# CHECK_FILES_STRICT
+# When set to "yes", VARBASE and PKG_SYSCONFDIR are checked in
+# addition to LOCALBASE.
+#
+# Package-settable variables:
+#
+# CHECK_FILES_SKIP
+# A list of regular expressions (FIXME: all other checks use shell
+# patterns) that names files to be skipped. This is useful to
+# avoid getting errors triggered by changes in directories not
+# really handled by pkgsrc.
+#
.if defined(PKG_DEVELOPER)
CHECK_FILES?= yes
.endif
-
CHECK_FILES?= no
CHECK_FILES_STRICT?= no
-###########################################################################
-# CHECK_FILES_SKIP is a list of file names that will be skipped when
-# analyzing file lists in the check-files target. This is useful to
-# avoid getting errors triggered by changes in directories not really
-# handled by pkgsrc.
-
# Info index files updated when a new info file is added.
.if defined(INFO_FILES)
CHECK_FILES_SKIP+= ${PREFIX}/.*/dir$$$$