diff options
author | rillig <rillig> | 2007-05-24 05:29:06 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-05-24 05:29:06 +0000 |
commit | 4063dedf74c615f83f547f98b60ea7c9c5ceb40a (patch) | |
tree | e2639b3d775c57bf4882cef22551d53ffbdd4a6d /mk/help | |
parent | 87cce7c8cb6414e39926d990f64313851d19c3cb (diff) | |
download | pkgsrc-4063dedf74c615f83f547f98b60ea7c9c5ceb40a.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++) { |