1
0
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:
Dan Fandrich 2015-12-16 22:13:02 +01:00
parent c3eeb526ae
commit 28533d3277

View File

@ -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)