From: Dan Fandrich Date: Wed, 16 Dec 2015 21:13:02 +0000 (+0100) Subject: scripts/Makefile: build zsh script even in an out-of-tree build X-Git-Tag: curl-7_47_0~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28533d3277380456119d281b8ea157dd1f2f2991;p=thirdparty%2Fcurl.git scripts/Makefile: build zsh script even in an out-of-tree build --- diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 110a1d5210..d10f46aaea 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -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)