diff options
author | rillig <rillig@pkgsrc.org> | 2018-03-11 14:50:49 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2018-03-11 14:50:49 +0000 |
commit | a6a0aad3d9e8b4e6c9f45dcf485c475a57dd08d6 (patch) | |
tree | f0cc6d2dc111cafb8393635d5d9f3c20d9f32087 /mk | |
parent | 2b00db77f756436479d4b6836daa912085ec4008 (diff) | |
download | pkgsrc-a6a0aad3d9e8b4e6c9f45dcf485c475a57dd08d6.tar.gz |
mk/help: run "make help" through the pager by default
Diffstat (limited to 'mk')
-rw-r--r-- | mk/help/help.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/help/help.mk b/mk/help/help.mk index 9f95ad1d5c8..f5a69ca80f8 100644 --- a/mk/help/help.mk +++ b/mk/help/help.mk @@ -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 @@ help: @${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 |