diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-24 05:29:06 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-24 05:29:06 +0000 |
commit | 1cf36740dd9e795840c4ecb012660173b578b3bf (patch) | |
tree | e2639b3d775c57bf4882cef22551d53ffbdd4a6d /mk/help | |
parent | 461f38151cf752d19f5dc513d4d7fb19074eaad4 (diff) | |
download | pkgsrc-1cf36740dd9e795840c4ecb012660173b578b3bf.tar.gz |
If more than one location for a topic is found, print an empty line
between them. Up to now, "bmake help topic=configure" looked rather
compressed.
Diffstat (limited to 'mk/help')
-rw-r--r-- | mk/help/help.awk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/help/help.awk b/mk/help/help.awk index 4292ef1cb14..5feaa626687 100644 --- a/mk/help/help.awk +++ b/mk/help/help.awk @@ -1,4 +1,4 @@ -# $NetBSD: help.awk,v 1.13 2007/03/09 01:34:50 rillig Exp $ +# $NetBSD: help.awk,v 1.14 2007/05/24 05:29:06 rillig Exp $ # # This program extracts the inline documentation from *.mk files. @@ -32,6 +32,8 @@ BEGIN { # function end_of_topic() { if (relevant && comment_lines > 2) { + if (found_anything) + print ""; found_anything = yes; print "===> "last_fname":"; for (i = 0; i < nlines; i++) { |