Received: by mail.netbsd.org (Postfix, from userid 605) id 3FC4584DA1; Sun, 25 Aug 2019 20:30:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BA95A84DA0 for ; Sun, 25 Aug 2019 20:30:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Ftww7VUXU34A for ; Sun, 25 Aug 2019 20:30:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 1E14484D95 for ; Sun, 25 Aug 2019 20:30:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 17FE0FBF4; Sun, 25 Aug 2019 20:30:12 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1566765012236080" MIME-Version: 1.0 Date: Sun, 25 Aug 2019 20:30:12 +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: <20190825203012.17FE0FBF4@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. --_----------=_1566765012236080 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Sun Aug 25 20:30:12 UTC 2019 Modified Files: pkgsrc/mk/help: help.awk Log Message: mk/help: remove unnecessary backslash before # in AWK program GNU Awk on Cygwin warns about these. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 pkgsrc/mk/help/help.awk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1566765012236080 Content-Disposition: inline Content-Length: 818 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/help/help.awk diff -u pkgsrc/mk/help/help.awk:1.33 pkgsrc/mk/help/help.awk:1.34 --- pkgsrc/mk/help/help.awk:1.33 Sun Apr 28 12:10:24 2019 +++ pkgsrc/mk/help/help.awk Sun Aug 25 20:30:11 2019 @@ -1,4 +1,4 @@ -# $NetBSD: help.awk,v 1.33 2019/04/28 12:10:24 rillig Exp $ +# $NetBSD: help.awk,v 1.34 2019/08/25 20:30:11 rillig Exp $ # # This program extracts the inline documentation from *.mk files. @@ -159,7 +159,7 @@ $1 ~ /:$/ && $2 == ".PHONY" { # Everything else is assumed to belong to the explaining text. # NF >= 1 && !/^[\t.]/ && !/^#*$/ && !/^#\t\t/ { - w = ($1 ~ /^\#[A-Z]/) ? substr($1, 2) : ($1 == "#") ? $2 : $1; + w = ($1 ~ /^#[A-Z]/) ? substr($1, 2) : ($1 == "#") ? $2 : $1; # Reduce VAR., VAR.${param} and VAR.* to VAR. sub(/\.[<$].*[>}]$/, "", w); --_----------=_1566765012236080--