<div dir="ltr"><div>---</div><div> completions/make            | 6 +++---</div><div> test/fixtures/make/Makefile | 6 ++++--</div><div> 2 files changed, 7 insertions(+), 5 deletions(-)</div><div><br></div><div>diff --git a/completions/make b/completions/make</div><div>index 53f362e..3f697be 100644</div><div>--- a/completions/make</div><div>+++ b/completions/make</div><div>@@ -20,8 +20,8 @@ function _make_target_extract_script()</div><div>     fi</div><div> </div><div>     cat <<EOF</div><div>-    1,/^# Files/                  d;            # skip until files section</div><div>-    /^# Not a target/,/^$/        d;            # skip not target blocks</div><div>+    1,/^# * Files/                d;            # skip until files section</div><div>+    /^# * Not a target/,/^$/      d;            # skip not target blocks</div><div>     /^${prefix_pat}/,/^$/!        d;            # skip anything user dont want</div><div> </div><div>     # The stuff above here describes lines that are not</div><div>@@ -29,7 +29,7 @@ function _make_target_extract_script()</div><div>     # The stuff below here decides whether an explicit target</div><div>     #  should be output.</div><div> </div><div>-    /^# File is an intermediate prerequisite/ {</div><div>+    /^# * File is an intermediate prerequisite/ {</div><div>       s/^.*$//;x;                               # unhold target</div><div>       d;                                        # delete line</div><div>     }</div><div>diff --git a/test/fixtures/make/Makefile b/test/fixtures/make/Makefile</div><div>index d5a0012..1a59f21 100644</div><div>--- a/test/fixtures/make/Makefile</div><div>+++ b/test/fixtures/make/Makefile</div><div>@@ -6,8 +6,10 @@ NAME := sample</div><div> .PHONY: all</div><div> all: $(NAME)</div><div> </div><div>-$(NAME): sample.c</div><div>-<span class="" style="white-space:pre">     </span>cc -o $@ $^</div><div>+$(NAME): sample.o</div><div>+</div><div>+.INTERMEDIATE: sample.o</div><div>+sample.o: sample.c</div><div> </div><div> .PHONY: install</div><div> install: all</div><div>-- </div><div>1.9.1</div><div><br></div></div>