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
1 changed files with 1 additions and 1 deletions

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)