Received: by mail.netbsd.org (Postfix, from userid 605) id D873D84D56; Thu, 20 Dec 2018 16:57:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DDCD984D2B for ; Thu, 20 Dec 2018 16:57:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id niCOE7IHHI8X for ; Thu, 20 Dec 2018 16:57:05 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1BE3784C85 for ; Thu, 20 Dec 2018 16:57:05 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 157CFFB16; Thu, 20 Dec 2018 16:57:05 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_154532502510720" MIME-Version: 1.0 Date: Thu, 20 Dec 2018 16:57:05 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc/mk/help To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20181220165705.157CFFB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_154532502510720 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Thu Dec 20 16:57:05 UTC 2018 Modified Files: pkgsrc/mk/help: help.mk Log Message: mk/help: if no help is found, output releative path names To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 pkgsrc/mk/help/help.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_154532502510720 Content-Disposition: inline Content-Length: 837 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/help/help.mk diff -u pkgsrc/mk/help/help.mk:1.15 pkgsrc/mk/help/help.mk:1.16 --- pkgsrc/mk/help/help.mk:1.15 Sun Mar 11 14:50:49 2018 +++ pkgsrc/mk/help/help.mk Thu Dec 20 16:57:04 2018 @@ -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 @@ help: @${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 --_----------=_154532502510720--