Skip to content

Commit dc5baeb

Browse files
author
rnvannatta
committed
fix: "Not a Target" logic bug in make helper awk script
1 parent 33f789c commit dc5baeb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

helpers-core/make-extract-targets.awk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ NR == 1, /^# +Make data base/ { next; }
2929
/^# +Variables/, /^# +Files/ { next; }
3030

3131
# skip not-target blocks
32-
/^# +Not a target/, /^$/ { next; }
32+
/^# +Not a target/, /^$/ {
33+
is_target_block = 0;
34+
target = "";
35+
next;
36+
}
3337

3438
# The stuff above here describes lines that are not
3539
# explicit targets or not targets other than special ones

0 commit comments

Comments
 (0)