pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/help The default variable assignment is printed by ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/283674d94372
branches: trunk
changeset: 523892:283674d94372
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 14 16:42:37 2007 +0000
description:
The default variable assignment is printed by "make help" again.
Completely empty lines are suppressed.
diffstat:
mk/help/help.awk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d74f1a44fe85 -r 283674d94372 mk/help/help.awk
--- a/mk/help/help.awk Sun Jan 14 16:28:40 2007 +0000
+++ b/mk/help/help.awk Sun Jan 14 16:42:37 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.9 2007/01/11 00:36:12 rillig Exp $
+# $NetBSD: help.awk,v 1.10 2007/01/14 16:42:37 rillig Exp $
#
# This program extracts the inline documentation from *.mk files.
@@ -35,7 +35,7 @@
found_anything = yes;
print "===> "last_fname":";
for (i = 0; i < nlines; i++) {
- if (!print_noncomment_lines || (lines[i] ~ /^#/))
+ if (print_noncomment_lines || (lines[i] ~ /^#/))
print lines[i];
}
}
@@ -49,7 +49,7 @@
}
always {
- ignore_this_line = (ignore_next_empty_line && $0 == "#");
+ ignore_this_line = (ignore_next_empty_line && $0 == "#") || $0 == "";
ignore_next_empty_line = no;
}
Home |
Main Index |
Thread Index |
Old Index