about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-02 12:35:24 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-02 12:35:24 +0000
commit5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898 (patch)
treedde3a76609374536404652bf8dfac9a629670fe9
parent80406f38b00fa35c3c1ec7b704f6e97054afb22c (diff)
downloadzsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar.gz
zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.tar.xz
zsh-5ab287d456a2c2dc7841a4a9dc268cd0bd2e7898.zip
zsh-workers/8486
-rw-r--r--Completion/User/_make6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/User/_make b/Completion/User/_make
index 4c6095e95..a9caed5de 100644
--- a/Completion/User/_make
+++ b/Completion/User/_make
@@ -20,6 +20,10 @@ else
 
   _description expl 'make target'
   [[ -n "$file" ]] &&
-    compadd "$expl[@]" - $(awk '/^[a-zA-Z0-9][^\/ 	]+:/ {print $1}' FS=: $file) && ret=0
+    compadd "$expl[@]" - \
+      $(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print $1}
+	     /^\.include  *<bsd\.port\.(subdir\.|pre\.|)mk>/ || /^\.include  *".*mk\/bsd\.pkg\.(subdir\.|)mk"/ {
+	       print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum" }' \
+	    FS=: $file) && ret=0
   (( ret )) && { compset -P 1 '*\='; _files }
 fi