diff options
author | dmcmahill <dmcmahill> | 2002-11-11 21:46:51 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-11-11 21:46:51 +0000 |
commit | 4ee16b2e48887553d8762875eb9a645595ad2783 (patch) | |
tree | bb3702063ce8427d662ad2e238726e38b931968a | |
parent | 9e4b0ecde0fdf5d3012ce83f1900c569f0658ab7 (diff) | |
download | pkgsrc-4ee16b2e48887553d8762875eb9a645595ad2783.tar.gz |
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.
-rw-r--r-- | mk/bsd.pkg.mk | 17 |
1 files changed, 16 insertions, 1 deletions
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 \ |