summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_make
AgeCommit message (Collapse)AuthorFilesLines
2023-11-1752303: updates to completions for macOS 13Oliver Kiddle1-1/+1
2023-01-2251322 (+ minor tweak): Update gnu make completion for version 4.4Shohei YOSHIDA1-2/+4
Add `--jobserver-style`, `--shuffle` and `--trace` options And delete '--warn-undefined-functions' option. This option was implemented only in redhat's older make and the official gnu make has never supported it.
2022-08-05Felipe Contreras: 50435+50436 (+50444): do not build anythingJun-ichi Takimoto1-3/+31
Use 'make -nqp' to ensure nothing is actually built by completion. Also include some performance improvements, but it can be still rather slow in a large project's source tree.
2021-07-0949150: consistently use singular form for headings on completion match groupsOliver Kiddle1-1/+1
2020-01-0345196: fix completion after make -C, allowing for -C being used multiple timesOliver Kiddle1-7/+8
2019-11-2444896: use opt_args to find base directory and use it for $(CURDIR)Oliver Kiddle1-33/+8
2019-10-0144798: completion option updateOliver Kiddle1-6/+7
2019-09-0644722: _make: use --always-make instead of .PHONY for GNU makeDaniel Hahler1-1/+1
Using ".PHONY" might actually execute (phony) targets then, while "--always-make" triggers processing of all targets, respecting `-n` (`--dry-run`). (This can be seen with `make -nsp .PHONY` in https://github.com/neomake/neomake/tree/76b110d49a, where it actually causes infinite processing then) ".PHONY" was used since the beginning here (37012f06a [1]). As for bmake (which also uses `.PHONY`): there does not appear to be a similar option for it. While it might work better there (i.e. not causing targets to be run), it causes an error at least when testing it quickly - which indicates that it behaves as if using any other non-existing (or special) target there maybe: > bmake: don't know how to make .PHONY. Stop This was added in ecc0a5ece [2] (workers-39654). Since it uses `-s -f "$file" -V.ALLTARGETS` with `bmake` before to get targets explicitly, there might not be a reason for calling `bmake` with `-nsdg1Fstdout … .PHONY` additionally in the first place?! 1: https://github.com/danielshahaf/zsh/commit/37012f06a 2: https://github.com/danielshahaf/zsh/commit/ecc0a5ece
2018-08-13unposted: _make: Allow pasted arguments for GNU make's -j option.Daniel Shahaf1-1/+1
2018-03-2442521 based on 42049 (SATOH Fumiyasu): fix finding of includes in make ↵Oliver Kiddle1-11/+7
completion make always includes relative to the current directory rather than relative to the including Makefile.
2018-02-1142327: _make: complete _filesDaniel Hahler1-1/+2
The use case is completing files that are actual targets, generated using $(wildcard …). Q: Could this be made to only complete files if make targets and vars are empty?
2017-11-0241971: correctly break out of certain tag loops when there are matchesOliver Kiddle1-8/+3
2016-11-0939890: typo corrections in completion functionsOliver Kiddle1-1/+1
2016-10-1839654: (based on patch by Baptiste Daroussin) Better support bmake, ↵Daniel Shahaf1-8/+11
FreeBSD's default make(1) implementation. Don't pass gmake options to bmake. Add bmake-speciic codepath for completing targets and parsing the makefile.
2016-08-1939067: update options to correspond to latest versions of software in ↵Oliver Kiddle1-1/+2
various functions
2016-02-1437972: Redirect stderr to /dev/null in cases where ${~param} might generate ↵Barton E. Schaefer1-1/+1
errors
2015-08-0235957: fix _make-expandVars()Jun-ichi Takimoto1-60/+72
Also use variables set in the command line and environment.
2015-05-1835168: Improve parsing of case patterns.Peter Stephenson1-3/+3
"|" is now found properly by looking for words that come from the lexical analyser, rather than hacking a pattern returned in one dollop. Update some completion functions that need extra quoting as a result. Add test for new parsing. Update version number to 5.0.8-dev-3 because of wordcode incompatibility.
2015-04-2834980: in completion match new Makefile assignment formsPeter Stephenson1-6/+6
2013-10-1831840: "read" needs IFS unset to avoid stripping whitespace in makefilesBarton E. Schaefer1-1/+1
2013-08-29based on 31641, 31642: completion for more make variantsPeter Stephenson1-1/+1
2013-07-2531756: further make completion improvements.Jun T1-32/+44
ake care of mutually exclusive options. Add _description using $state_descr. Add completions for --debug=flag. Fix typo (pointed out by Daniel Shahaf).
2013-07-1731525: Fix some options in _makeJun T1-4/+4
2013-07-12Update make completion with gnu optionsNick Cross1-8/+30
2013-07-11users/17856: rewrite _make to use _arguments.Peter Stephenson1-10/+34
No new option handling yet, but this should make it easier to add.
2011-05-2729365: redefine _make() in _make.Mikael Magnusson1-66/+71
2011-05-2429364: partial fix for make completion in dirs with spaces.Mikael Magnusson1-1/+1
2011-04-27_make: add _make- prefix to helper functionsMikael Magnusson1-16/+16
2011-04-1528998: use correct return status in _makeMikael Magnusson1-5/+8
2009-11-24Baptiste Daroussin: 27431: _make: fix for FreeBSDPeter Stephenson1-1/+7
2009-11-2427430: extend make variable value completionPeter Stephenson1-1/+1
2009-11-2427429: _make: restore variable value completionPeter Stephenson1-186/+186
make indentation more standard
2009-11-24Michael Hwang <michael.a.hwang@gmail.com>: 27428:Peter Stephenson1-149/+197
improved _make
2007-12-10Vincent Lefevre: 24192: make GNU make completion support -includePeter Stephenson1-3/+3
2006-11-1022992: make $? available in exit traps/hooksPeter Stephenson1-2/+8
22993: slightly more effective _make variable fix
2006-11-0922988: arno: _make fix for special variablesPeter Stephenson1-0/+2
2006-02-0922205: patch from R.Ramkumar to use the argument to -C in make completion.Clint Adams1-10/+38
2005-03-02 * 20906: Completion/Unix/Command/_make: patch from Mike "Stew" O'ConnorClint Adams1-5/+8
to limit recursion depth in make completion variable expansion.
2005-03-02Don't try to expand a single-character Makefile variable ifWayne Davison1-1/+1
it is a digit.
2004-11-11Use ";&" to have the new "(\$*)" case fall through to the continue.Wayne Davison1-1/+1
2004-11-10Handle $$ when expanding variables.Wayne Davison1-1/+5
2004-11-02 * 20539: Completion/Unix/Command/_make: avoid problems minus signsClint Adams1-1/+1
in expandVars().
2004-10-12Got rid of "cmdargs" local since it is no longer used.Wayne Davison1-1/+1
2004-10-01This version now uses a zsh function to parse the makefile insteadWayne Davison1-20/+91
of awk or perl. That function has been enhanced to follow includes and to expand variables (which makes a target such as foo$(EXEEXT) expand into the right executable extention for the current system).
2004-09-30 * 20358: Completion/Unix/Command/_make: avoid potential gawk locale bug by ↵Clint Adams1-9/+6
not using awk.
2004-08-21- Fixed the perl code that was using the @matches array.Wayne Davison1-4/+3
- Simplified the other perl code just a little.
2004-08-18One of the new parenthetical expressions needs to not return a valueWayne Davison1-1/+1
so that it doesn't put items into the @matches array.
2004-08-18Don't output a target "VAR" for a line of the form "VAR := VALUE".Wayne Davison1-4/+4
2004-08-18Don't output make targets all clumped into a single string when useperlWayne Davison1-1/+1
is enabled.
2002-08-1417535: use-perl style for _makePeter Stephenson1-2/+18