make
Summary
Section titled “Summary”make'' runs make after cloning or updating a plugin. It supports passing arguments
to make and can be ordered before or after atclone''/atpull'' using the ! prefix.
Syntax / Usage
Section titled “Syntax / Usage”zi ice make # run make with no args (default target)zi ice make"install PREFIX=$ZPFX" # pass argumentszi ice make"!" # run make BEFORE atclone/atpullzi ice make"!!" # run make before make! and before atclone/atpullDetails
Section titled “Details”Without a value, make runs the default target. Any string value is passed as
arguments to the make command.
Ordering variants:
make''(no prefix): runs aftermv'',cp'', andatclone''/atpull''.make'!': runs beforeatclone''/atpull''but aftermv''/cp''.make'!!': runs beforemake'!', i.e. the earliest possible stage.
$ZPFX is automatically available and points to the Zinit polaris prefix
(~/.local/share/zinit/polaris by default). Use it to install into the user prefix
without root.
Examples
Section titled “Examples”# Build and install git-extras into $ZPFXzi ice as"program" pick"$ZPFX/bin/git-*" make"PREFIX=$ZPFX"zi light tj/git-extras
# Run ./configure before make (using !)zi ice as"program" atclone"./configure" atpull"%atclone" make pick"src/vim"zi light vim/vim
# Direnv: run make! to build before atclone generates hookzi ice as"program" make'!' atclone'./direnv hook zsh > zhook.zsh' atpull'%atclone' src"zhook.zsh"zi light direnv/direnvSee Also
Section titled “See Also”- configure
- atclone
- atpull
- pick