pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk: rename show-depends-all to show-depends-recursive



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f46667690d00
branches:  trunk
changeset: 376803:f46667690d00
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Apr 13 22:02:36 2022 +0000

description:
mk: rename show-depends-all to show-depends-recursive

This avoids confusing the target with the similarly named
show-all-depends, which lists makefile variables related to the depends
phase.

Suggested by J. Lewis Muir on pkgsrc-users.

https://mail-index.netbsd.org/pkgsrc-users/2022/04/13/msg035470.html

diffstat:

 mk/bsd.utils.mk           |  11 ++++++-----
 mk/depends/bsd.depends.mk |   4 ++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (55 lines):

diff -r c13f2442f4ac -r f46667690d00 mk/bsd.utils.mk
--- a/mk/bsd.utils.mk   Wed Apr 13 21:56:10 2022 +0000
+++ b/mk/bsd.utils.mk   Wed Apr 13 22:02:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.utils.mk,v 1.13 2022/04/09 00:46:12 rillig Exp $
+# $NetBSD: bsd.utils.mk,v 1.14 2022/04/13 22:02:36 rillig Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and defines utility
 # and otherwise miscellaneous variables and targets.
@@ -54,7 +54,7 @@
 #
 #      See also:
 #              show-depends
-#              show-depends-all
+#              show-depends-recursive
 #
 # Keywords: depends dependencies
 .PHONY: show-depends-dirs show-depends-pkgpaths
@@ -73,7 +73,7 @@
                PKGSRCDIR=${PKGSRCDIR:Q} TEST=${TOOLS_TEST:Q}           \
        ${AWK} -f ${.CURDIR}/../../mk/scripts/depends-depth-first.awk --
 
-# show-depends-all:
+# show-depends-recursive:
 #      Lists the PKGPATH of all direct or indirect dependencies of the
 #      current package.
 #
@@ -86,6 +86,7 @@
 #      See also:
 #              show-depends
 #              show-depends-pkgpaths
-# Keywords: depends dependencies recursive indirect
-show-depends-all: .PHONY
+#
+# Keywords: depends dependencies recursive indirect transitive
+show-depends-recursive: .PHONY
        ${RUN} ${_DEPENDS_WALK_CMD} ${PKGPATH}
diff -r c13f2442f4ac -r f46667690d00 mk/depends/bsd.depends.mk
--- a/mk/depends/bsd.depends.mk Wed Apr 13 21:56:10 2022 +0000
+++ b/mk/depends/bsd.depends.mk Wed Apr 13 22:02:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.depends.mk,v 1.31 2022/04/09 00:46:12 rillig Exp $
+# $NetBSD: bsd.depends.mk,v 1.32 2022/04/13 22:02:36 rillig Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and provides all
 # variables and targets related to dependencies.
@@ -140,7 +140,7 @@
 #
 # See also:
 #      show-depends-pkgpaths   Prints the PKGPATH of all direct dependencies.
-#      show-depends-all        Prints the PKGPATH of all direct and
+#      show-depends-recursive  Prints the PKGPATH of all direct and
 #                              indirect dependencies.
 #
 # Keywords: depends dependencies



Home | Main Index | Thread Index | Old Index