summaryrefslogtreecommitdiff
path: root/mk/package
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-08 23:33:35 +0000
committerrillig <rillig@pkgsrc.org>2007-03-08 23:33:35 +0000
commit45098e09773d54bbc2ae1f47216382b630ed9bf7 (patch)
tree8a3223d768698663205f9ee744b80494fab5b244 /mk/package
parent33024986cb6f604f04516bbb127f2b7fb7a921e1 (diff)
downloadpkgsrc-45098e09773d54bbc2ae1f47216382b630ed9bf7.tar.gz
Renamed package-warnings to _package-warnings, since it is a private
target.
Diffstat (limited to 'mk/package')
-rw-r--r--mk/package/package.mk32
1 files changed, 17 insertions, 15 deletions
diff --git a/mk/package/package.mk b/mk/package/package.mk
index b7fd8ada7c5..896ea070cbb 100644
--- a/mk/package/package.mk
+++ b/mk/package/package.mk
@@ -1,11 +1,17 @@
-# $NetBSD: package.mk,v 1.18 2006/10/09 12:25:44 joerg Exp $
+# $NetBSD: package.mk,v 1.19 2007/03/08 23:33:35 rillig Exp $
+#
+# This file provides the code for the "package" phase.
+#
+# Public targets:
+#
+# package:
+# Generates a binary package.
+# It will acquire elevated privileges just-in-time.
+#
+# XXX: From which files is the binary package generated? The
+# installed files in LOCALBASE, or some files in WRKDIR/.destdir?
+#
-######################################################################
-### package (PUBLIC)
-######################################################################
-### package is a public target to generate a binary package. It will
-### acquire elevated privileges just-in-time.
-###
_PACKAGE_TARGETS+= check-vulnerable
.if make(replace)
_PACKAGE_TARGETS+= replace
@@ -81,7 +87,7 @@ package-cookie:
_PACKAGE_ALL_TARGETS+= package-check-installed
.endif
_PACKAGE_ALL_TARGETS+= package-create
-_PACKAGE_ALL_TARGETS+= package-warnings
+_PACKAGE_ALL_TARGETS+= _package-warnings
_PACKAGE_ALL_TARGETS+= error-check
.PHONY: package-all su-package-all
@@ -116,13 +122,9 @@ package-create:
@${DO_NADA}
.endif
-######################################################################
-### package-warnings (PRIVATE)
-######################################################################
-### package-warnings displays warnings about the binary package.
-###
-.PHONY: package-warnings
-package-warnings:
+# Displays warnings about the binary package.
+#
+_package-warnings: .PHONY
.if defined(NO_BIN_ON_CDROM)
@${WARNING_MSG} "${PKGNAME} may not be put on a CD-ROM:"
@${WARNING_MSG} ${NO_BIN_ON_CDROM:Q}