Makefile: optimize recursive invocation (#1127)

This commit is contained in:
ratijas 2020-11-26 13:51:39 +03:00 committed by GitHub
parent ff79e502ad
commit ecf1de25a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,5 +3,5 @@ ZSH := $(shell command -v zsh 2> /dev/null)
all: all:
pkg: pkg:
cd gitstatus && $(MAKE) pkg && cd .. $(MAKE) -C gitstatus pkg
$(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done' $(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done'