mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
scripts/Makefile: build zsh script even in an out-of-tree build
This commit is contained in:
parent
c3eeb526ae
commit
28533d3277
@ -28,7 +28,7 @@ all-local: $(ZSH_COMPLETION_FUNCTION_FILENAME)
|
||||
|
||||
$(ZSH_COMPLETION_FUNCTION_FILENAME): zsh.pl
|
||||
@if ! test -x "$(PERL)"; then echo "No perl: can't install zsh.pl"; exit 0; fi
|
||||
$(PERL) zsh.pl > $@
|
||||
$(PERL) $(srcdir)/zsh.pl > $@
|
||||
|
||||
install-data-local:
|
||||
$(MKDIR_P) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user