summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_make2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 234120191..dabbaeb2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-09-06  Daniel Hahler  <zsh@thequod.de>
+
+	* 44722: Completion/Unix/Command/_make: use --always-make
+	instead of .PHONY for GNU make.
+
 2019-09-04  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 44726/0002: Completion/Unix/Command/_subversion: Update
diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make
index e23906373..56d47f4ea 100644
--- a/Completion/Unix/Command/_make
+++ b/Completion/Unix/Command/_make
@@ -262,7 +262,7 @@ _make() {
       if [[ $is_gnu == gnu ]] 
       then
         if zstyle -t ":completion:${curcontext}:targets" call-command; then
-          _make-parseMakefile < <(_call_program targets "$words[1]" -nsp --no-print-directory -f "$file" .PHONY 2> /dev/null)
+          _make-parseMakefile < <(_call_program targets "$words[1]" -nsp --no-print-directory -f "$file" --always-make 2> /dev/null)
         else
           _make-parseMakefile < $file
         fi