pkgsrc/mk/check/bsd.check.mk
rillig c18f3fed81 Added a new check for binaries, so that they are installed according to
the INSTALL_UNSTRIPPED variable. By default, this check is disabled, so
that it does not cause any breakage.

NB: The file(1) command needs the explicit locale to prevent translated
messages. This file is copied from check-interpreter.mk.
2008-02-13 15:02:20 +00:00

51 lines
1.5 KiB
Makefile

# $NetBSD: bsd.check.mk,v 1.8 2008/02/13 15:02:20 rillig Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and provides all
# variables and targets related to build and install checks.
#
# There are some predefined hooks where checks can be added:
#
# pre-configure-checks-hook
# Is run before configuring the package.
#
# pre-build-checks-hook
# Is run before building the package.
#
# #notyet post-install-privileged-checks-hook
# Is run after the installation, as the user who installed
# the package.
#
# #notyet post-install-checks-hook
# Is run after the installation, as the user who built
# the package.
#
# The following are the "public" targets provided this module:
#
# check-files-pre, check-files-post, check-files
# check-interpreter, check-shlibs, check-vulnerable, check-wrkref
#
.include "check-files.mk"
.include "check-headers.mk"
.include "check-interpreter.mk"
.include "check-perms.mk"
.include "check-portability.mk"
.include "check-shlibs.mk"
.include "check-stripped.mk"
.include "check-vulnerable.mk"
.include "check-wrkref.mk"
.include "check-fakehome.mk"
pre-configure-checks-hook \
pre-build-checks-hook: .PHONY
@${DO_NADA}
######################################################################
### check-clean (PRIVATE)
######################################################################
### check-clean is a helper target onto which one can hook all of the
### targets that clean up the output of "check" targets.
###
.PHONY: check-clean
check-clean:
@${DO_NADA}