pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/checksum The "makedistinfo" target should actually ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c86cd9164f2f
branches:  trunk
changeset: 516332:c86cd9164f2f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jul 19 14:54:56 2006 +0000

description:
The "makedistinfo" target should actually be named "distinfo" to match
the old bsd.pkg.mk behavior (noted by adrianp in private email).  Keep
"makedistinfo" as an alias for "distinfo".

While here, sprinkle some .PHONY declarations for correctness.

diffstat:

 mk/checksum/bsd.checksum.mk |  16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r afbc95e9c705 -r c86cd9164f2f mk/checksum/bsd.checksum.mk
--- a/mk/checksum/bsd.checksum.mk       Wed Jul 19 14:25:59 2006 +0000
+++ b/mk/checksum/bsd.checksum.mk       Wed Jul 19 14:54:56 2006 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: bsd.checksum.mk,v 1.2 2006/07/13 18:42:45 jlam Exp $
+# $NetBSD: bsd.checksum.mk,v 1.3 2006/07/19 14:54:56 jlam Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and defines the
 # relevant variables and targets for the "checksum" phase.
 #
 # The following are the "public" targets provided by this module:
 #
-#    checksum, makesum, makepatchsum
+#    checksum, makesum, makepatchsum, distinfo
 #
 
 ######################################################################
@@ -33,13 +33,15 @@
 .endif
 
 ######################################################################
-### makedistinfo (PUBLIC)
+### distinfo (PUBLIC)
 ######################################################################
-### makedistinfo is a public target to create ${DISTINFO_FILE}.
+### distinfo is a public target to create ${DISTINFO_FILE}.
 ###
-makedistinfo: makepatchsum makesum
+.PHONY: distinfo
+distinfo: makepatchsum makesum
        @${DO_NADA}
 
-# Some short aliases for "makepatchsum" and "makedistinfo".
+# Some short aliases for "makepatchsum" and "distinfo".
+.PHONY: mps mdi makedistinfo
 mps: makepatchsum
-mdi: makedistinfo
+mdi makedistinfo: distinfo



Home | Main Index | Thread Index | Old Index