pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Add show-subdir-var to get the value of SUBDIR of t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/903504890039
branches:  trunk
changeset: 513225:903504890039
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon May 22 17:10:41 2006 +0000

description:
Add show-subdir-var to get the value of SUBDIR of the top-level and
category Makefiles.

diffstat:

 mk/bsd.pkg.subdir.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 35183e8a8a04 -r 903504890039 mk/bsd.pkg.subdir.mk
--- a/mk/bsd.pkg.subdir.mk      Mon May 22 17:02:48 2006 +0000
+++ b/mk/bsd.pkg.subdir.mk      Mon May 22 17:10:41 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.subdir.mk,v 1.61 2006/01/29 01:39:01 dmcmahill Exp $
+#      $NetBSD: bsd.pkg.subdir.mk,v 1.62 2006/05/22 17:10:41 joerg Exp $
 #      Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp
 #      from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
 #
@@ -199,6 +199,9 @@
        done
 .endif
 
+.PHONY: show-subdir-var
+show-subdir-var:
+       @${ECHO} ${SUBDIR:Q}
 
 # Print out a script to fetch all needed files (no checksumming).
 #



Home | Main Index | Thread Index | Old Index