2015-11-20 07:56:10 +03:00
|
|
|
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
|
2015-12-09 02:32:42 +03:00
|
|
|
@if ! test -x "$(PERL)"; then echo "No perl: can't install zsh.pl"; exit 0; fi
|
|
|
|
$(PERL) zsh.pl > $@
|
2015-11-20 07:56:10 +03:00
|
|
|
|
|
|
|
install-data-local:
|
2015-11-28 01:24:07 +03:00
|
|
|
$(MKDIR_P) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)
|
|
|
|
$(INSTALL_DATA) $(ZSH_COMPLETION_FUNCTION_FILENAME) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)/$(ZSH_COMPLETION_FUNCTION_FILENAME)
|