pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/help



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Mar 11 14:50:49 UTC 2018

Modified Files:
        pkgsrc/mk/help: help.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/mk/help/help.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/help/help.mk
diff -u pkgsrc/mk/help/help.mk:1.14 pkgsrc/mk/help/help.mk:1.15
--- pkgsrc/mk/help/help.mk:1.14 Sun Jan  7 11:23:37 2018
+++ pkgsrc/mk/help/help.mk      Sun Mar 11 14:50:49 2018
@@ -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



Home | Main Index | Thread Index | Old Index