zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] include Makefile relative from the current working directory
@ 2017-11-25 10:59 SATOH Fumiyasu
  2018-03-24 13:31 ` Oliver Kiddle
  0 siblings, 1 reply; 2+ messages in thread
From: SATOH Fumiyasu @ 2017-11-25 10:59 UTC (permalink / raw)
  To: zsh-workers

Don't include Makefile relative from the current Makefile.

I've confirmed that GNU make, BSD make, Solaris 10 make and
AIX 7.2 make include Makefile relative from the current
working directory.
---
 Completion/Unix/Command/_make | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make
index 890ad1c83..66b7e13b1 100644
--- a/Completion/Unix/Command/_make
+++ b/Completion/Unix/Command/_make
@@ -108,10 +108,6 @@ _make-parseMakefile () {
         f=${f%[\">]}
       fi
       f=$(_make-expandVars $f)
-      case $f in
-        (/*) ;;
-        (*) f=$dir/$f ;;
-      esac
 
       if [[ -r $f ]]
       then
-- 
2.15.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-24 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-25 10:59 [PATCH] include Makefile relative from the current working directory SATOH Fumiyasu
2018-03-24 13:31 ` Oliver Kiddle

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).