1 # $NetBSD: bsd.checksum.mk,v 1.10 2009/07/15 09:40:30 joerg Exp $
3 # This Makefile fragment is included by bsd.pkg.mk and defines the
4 # relevant variables and targets for the "checksum" phase.
6 # Public targets for pkgsrc users:
9 # Check that the distfiles have the correct checksums. If they
10 # aren't yet fetched, fetch them. This target can be run at
11 # any time and is meant to be run by the user.
14 # Same as "checksum" but is meant to run automatically by pkgsrc.
15 # This target does not run after the "extract" phase is complete.
18 # Run checksum for the current package and all dependencies.
20 # Public targets for pkgsrc developers:
23 # Add or update the checksums of the distfiles to ${DISTINFO_FILE}.
28 # Add or update the checksums of the patches to ${DISTINFO_FILE}.
30 # makedistinfo, distinfo, mdi:
31 # Create or update the checksums in ${DISTINFO_FILE}.
33 # Package-settable variables:
36 # When defined, no checksums are validated for patches or
39 # Note: This does not alter the behaviour of FAILOVER_FETCH.
41 # Default value: undefined
44 .PHONY: checksum checksum-phase
45 .PHONY: makesum makepatchsum mps mdi makedistinfo distinfo
47 checksum checksum-phase distinfo makesum: fetch
48 makedistinfo mdi: distinfo
51 .include "checksum.mk"