mirror of
https://github.com/curl/curl.git
synced 2026-07-16 07:37:15 +03:00
autotools: install shell completion files on cross build
Before 8.13.0, it was not possible to generate them as it required calling the compiled binary, but this has been fixed. Co-authored-by: Samuel Henrique <samueloph@debian.org> Closes #17159
This commit is contained in:
parent
596da988c4
commit
51170b52d1
1 changed files with 0 additions and 4 deletions
|
|
@ -57,9 +57,6 @@ $(FISH_COMPLETION_FUNCTION_FILENAME): completion.pl
|
|||
endif
|
||||
|
||||
install-data-local:
|
||||
if CROSSCOMPILING
|
||||
@echo 'NOTICE: we cannot install completion scripts when cross-compiling'
|
||||
else # if not cross-compiling:
|
||||
if USE_ZSH_COMPLETION
|
||||
if test -n "$(PERL)"; then \
|
||||
$(MKDIR_P) $(DESTDIR)$(ZSH_FUNCTIONS_DIR); \
|
||||
|
|
@ -72,7 +69,6 @@ if USE_FISH_COMPLETION
|
|||
$(INSTALL_DATA) $(FISH_COMPLETION_FUNCTION_FILENAME) $(DESTDIR)$(FISH_FUNCTIONS_DIR)/$(FISH_COMPLETION_FUNCTION_FILENAME); \
|
||||
fi
|
||||
endif
|
||||
endif
|
||||
|
||||
distclean:
|
||||
rm -f $(CLEANFILES)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue