mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
19a8afb3c0
Reported-by: Mohammad AlSaleh
14 lines
390 B
Makefile
14 lines
390 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
|
|
$(PERL) $< > $@
|
|
|
|
install-data-local:
|
|
$(MKDIR_P) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)
|
|
$(INSTALL_DATA) $(ZSH_COMPLETION_FUNCTION_FILENAME) $(DESTDIR)$(ZSH_FUNCTIONS_DIR)/$(ZSH_COMPLETION_FUNCTION_FILENAME)
|