mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
Baptiste Daroussin: 27431: _make: fix for FreeBSD
This commit is contained in:
parent
d81fb9f1a8
commit
b7c0ab63f3
2 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2009-11-24 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Baptiste Daroussin: 27431: Completion/Unix/Command/_make: Fix
|
||||
for FreeBSD.
|
||||
|
||||
* 27430: Completion/Unix/Command/_make: extend variable value
|
||||
completion to anything that looks like an assignment.
|
||||
|
||||
|
@ -12393,5 +12396,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4823 $
|
||||
* $Revision: 1.4824 $
|
||||
*****************************************************
|
||||
|
|
|
@ -193,7 +193,13 @@ else
|
|||
then
|
||||
parseMakefile $PWD < <(_call_program targets "$words[1]" -nsp --no-print-directory -f "$file" .PHONY 2> /dev/null)
|
||||
else
|
||||
parseMakefile $PWD < $file
|
||||
case "$OSTYPE" in
|
||||
freebsd*)
|
||||
parseMakefile $PWD < <(_call_program targets "$words[1]" -nsp -f "$file" .PHONY 2> /dev/null)
|
||||
;;
|
||||
*)
|
||||
parseMakefile $PWD < $file
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue