f08fea7169
Closes #555 Reported-by: Thomas Klausner
15 lines
474 B
Makefile
15 lines
474 B
Makefile
ZSH_FUNCTIONS_DIR = @ZSH_FUNCTIONS_DIR@
|
|
PERL = @PERL@
|
|
|
|
ZSH_COMPLETION_FUNCTION_FILENAME = _curl
|
|
|
|
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 > $@
|
|
|
|
install-data-local:
|
|
$(MKDIR_P) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)
|
|
$(INSTALL_DATA) $(ZSH_COMPLETION_FUNCTION_FILENAME) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)/$(ZSH_COMPLETION_FUNCTION_FILENAME)
|