pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/help mk/help: if no help is found, output releative...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ccbb16220b16
branches: trunk
changeset: 389095:ccbb16220b16
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Dec 20 16:57:04 2018 +0000
description:
mk/help: if no help is found, output releative path names
diffstat:
mk/help/help.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 4bee00e18795 -r ccbb16220b16 mk/help/help.mk
--- a/mk/help/help.mk Thu Dec 20 15:42:23 2018 +0000
+++ b/mk/help/help.mk Thu Dec 20 16:57:04 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: help.mk,v 1.15 2018/03/11 14:50:49 rillig Exp $
+# $NetBSD: help.mk,v 1.16 2018/12/20 16:57:04 rillig Exp $
#
# This is the integrated pkgsrc online help system. To query for the
@@ -40,8 +40,8 @@
@${ECHO} " The special topic :index lists all available topics."
@${ECHO} ""
. else
- ${RUN} cd ${PKGSRCDIR}; \
- env TOPIC=${TOPIC:Q} ${AWK} -f ${PKGSRCDIR}/mk/help/help.awk ${_HELP_FILES} \
+ ${RUN} env TOPIC=${TOPIC:Q} ${AWK} -f ${PKGSRCDIR}/mk/help/help.awk \
+ ${_HELP_FILES:S|^|${_PKGSRC_TOPDIR}/|:S|^${.CURDIR}|.|:S,^./,,} \
| $${PAGER:-cat}
. endif
.endif
Home |
Main Index |
Thread Index |
Old Index