[Bash-completion-commits] [bash-completion] 01/01: make: completion shouldn't be confused by the output of $(info confuse: make)
Igor Murzov
garik-guest at moszumanska.debian.org
Mon May 19 22:26:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
garik-guest pushed a commit to branch master
in repository bash-completion.
commit 54d53c622745e907d288d67d832a0b09aaa1d3df
Author: Tristan Wibberley <tristan.wibberley at gmail.com>
Date: Sun May 18 14:10:50 2014 +0100
make: completion shouldn't be confused by the output of $(info confuse: make)
---
completions/make | 2 +-
test/fixtures/make/Makefile | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/completions/make b/completions/make
index b6683b8..f8f7193 100644
--- a/completions/make
+++ b/completions/make
@@ -20,7 +20,7 @@ function _make_target_extract_script()
fi
cat <<EOF
- /^# Make data base/,/^# Files/d; # skip until files section
+ 1,/^# Files/ d; # skip until files section
/^# Not a target/,/^$/ d; # skip not target blocks
/^${prefix_pat}/,/^$/! d; # skip anything user dont want
diff --git a/test/fixtures/make/Makefile b/test/fixtures/make/Makefile
index 1a6416c..cb99b25 100644
--- a/test/fixtures/make/Makefile
+++ b/test/fixtures/make/Makefile
@@ -1,3 +1,5 @@
+$(info confuse: make)
+
NAME := sample
.PHONY: all
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list