mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
scripts/Makefile: fix GNUism and survive no perl
Closes #555 Reported-by: Thomas Klausner
This commit is contained in:
parent
034317d2af
commit
f08fea7169
@ -6,7 +6,8 @@ ZSH_COMPLETION_FUNCTION_FILENAME = _curl
|
||||
all-local: $(ZSH_COMPLETION_FUNCTION_FILENAME)
|
||||
|
||||
$(ZSH_COMPLETION_FUNCTION_FILENAME): zsh.pl
|
||||
$(PERL) $< > $@
|
||||
@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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user