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: run "make help" through the pager by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6227919d8674
branches:  trunk
changeset: 376954:6227919d8674
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 11 14:50:49 2018 +0000

description:
mk/help: run "make help" through the pager by default

diffstat:

 mk/help/help.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8952ecae516a -r 6227919d8674 mk/help/help.mk
--- a/mk/help/help.mk   Sun Mar 11 14:43:01 2018 +0000
+++ b/mk/help/help.mk   Sun Mar 11 14:50:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: help.mk,v 1.14 2018/01/07 11:23:37 rillig Exp $
+# $NetBSD: help.mk,v 1.15 2018/03/11 14:50:49 rillig Exp $
 #
 
 # This is the integrated pkgsrc online help system. To query for the
@@ -41,6 +41,7 @@
        @${ECHO} ""
 .  else
        ${RUN} cd ${PKGSRCDIR};                                         \
-       env TOPIC=${TOPIC:Q} ${AWK} -f ${PKGSRCDIR}/mk/help/help.awk ${_HELP_FILES}
+       env TOPIC=${TOPIC:Q} ${AWK} -f ${PKGSRCDIR}/mk/help/help.awk ${_HELP_FILES} \
+       | $${PAGER:-cat}
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index