From 4ee16b2e48887553d8762875eb9a645595ad2783 Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Mon, 11 Nov 2002 21:46:51 +0000 Subject: add a print-summary-data target which will be used by the new bulk README.html generation script. This target gives all information needed by the README.html file in 1 make call. --- mk/bsd.pkg.mk | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index bc56a65d763..c9c8a386931 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1082 2002/11/10 18:20:44 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1083 2002/11/11 21:46:51 dmcmahill Exp $ # # This file is in the public domain. # @@ -3742,6 +3742,21 @@ print-run-depends-list: . endif .endif +# This target is used by the mk/bulk/mkreadme script to generate +# README.html files +.if !target(print-summary-data) +print-summary-data: + @${ECHO} "depends ${PKGPATH} ${DEPENDS}" + @${ECHO} "build_depends ${PKGPATH} ${BUILD_DEPENDS}" + @${ECHO} "conflicts ${PKGPATH} ${CONFLICTS}" + @${ECHO} "index ${PKGPATH} ${PKGNAME}" + @${ECHO} htmlname ${PKGPATH} ${HTML_PKGNAME:Q} + @${ECHO} homepage ${PKGPATH} ${HOMEPAGE:Q} + @${ECHO} wildcard ${PKGPATH} ${PKGWILDCARD:Q} + @${ECHO} comment ${PKGPATH} ${COMMENT:Q} + @${ECHO} license ${PKGPATH} ${LICENSE:Q} +.endif + .if !target(show-license) show-license show-licence: @if [ "${LICENSE}" != "" ]; then \ -- cgit v1.2.3