diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-09 21:29:26 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-09 21:29:26 +0000 |
commit | d43645467bc8fa9719a6d3b6093b2ac4c2e610b6 (patch) | |
tree | ee3f485c17f83881610d8a39f88a9701f8f8b635 /mk/check | |
parent | 7a3eef06f45445ab2801797004bc154a2d8521a1 (diff) | |
download | pkgsrc-d43645467bc8fa9719a6d3b6093b2ac4c2e610b6.tar.gz |
Added documentation.
Diffstat (limited to 'mk/check')
-rw-r--r-- | mk/check/check-files.mk | 34 |
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$$$$ |