curl-curl/scripts
Viktor Szakats c1c99054ab
cmake: install shell completions for cross-builds
Also:
- omit auto-detecting `CURL_COMPLETION_FISH_DIR` via `pkg-config`
  for cross-builds and when `CMAKE_INSTALL_PREFIX` is set.
- flatten nested `if`s.

Note:
On macOS with Homebrew, `pkg-config --variable completionsdir fish`
returns the version-specific Cellar path instead of the permanent path
`/opt/homebrew/share/fish/vendor_completions.d/`. This mimics what
autotools does, but may need further fixing, possibly upstream.
9c13e62b00/Formula/f/fish.rb
ce631fd2fb/cmake/Install.cmake (L15-L21)

Ref: #17147
Ref: 51170b52d1 #17159
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103938

Closes #17145
2025-04-24 10:04:17 +02:00
..
cd2cd docs: introduce "curldown" for libcurl man page format 2024-01-23 00:29:02 +01:00
cd2nroff cd2nroff: do not insist on quoted <> within backticks 2025-01-28 17:36:55 +01:00
cdall docs: introduce "curldown" for libcurl man page format 2024-01-23 00:29:02 +01:00
checksrc.pl core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
ciconfig.pl tidy-up: use /usr/bin/env perl shebang 2024-06-26 23:58:10 +02:00
cijobs.pl GHA: tidy up apt commands 2025-01-30 02:36:43 +01:00
cmakelint.sh cmake: add integration tests, run them in CI 2025-02-07 00:15:48 +01:00
CMakeLists.txt cmake: install shell completions for cross-builds 2025-04-24 10:04:17 +02:00
completion.pl scripts: completion.pl: sort the completion file for all shells 2025-04-06 11:35:38 +02:00
contributors.sh contributors.sh: lowercase 'github' for consistency 2025-02-24 08:05:06 +01:00
contrithanks.sh contrithanks.sh: drop set -e 2025-04-02 11:44:26 +02:00
coverage.sh GHA: add shellcheck job and fix warnings, shell tidy-ups 2024-04-08 09:37:24 +00:00
delta delta: get contributors without changing THANKS 2025-02-24 13:26:48 +01:00
dmaketgz dmaketgz: use --no-cache when building docker image 2024-12-05 15:41:53 +01:00
firefox-db2pem.sh firefox-db2pem: mention what "certutil" the script uses 2024-09-06 08:57:34 +02:00
installcheck.sh GHA: add shellcheck job and fix warnings, shell tidy-ups 2024-04-08 09:37:24 +00:00
Makefile.am autotools: install shell completion files on cross build 2025-04-23 23:21:05 +02:00
maketgz Makefile.dist: delete 2025-01-27 20:59:47 +01:00
managen managen: accept more markdown-quote-markers 2025-03-12 14:36:11 +01:00
mdlinkcheck scripts/mdlinkcheck: fix the ../ handling in file links 2024-12-21 13:57:38 +01:00
mk-ca-bundle.pl mk-ca-bundle.pl: follow redirects 2025-04-08 11:47:05 +02:00
mk-unity.pl lib: include files using known path 2025-04-08 17:00:00 +02:00
nroff2cd tidy-up: one comment and EOF newlines 2024-03-12 15:38:44 +00:00
randdisable randdisable: build randomizer 2025-04-05 14:59:17 +02:00
release-notes.pl release-notes.pl: manage more "closes" typos 2025-02-08 10:51:27 +01:00
release-tools.sh maketgz: fix RELEASE-TOOLS.md for daily tarballs 2024-09-07 09:33:09 -07:00
schemetable.c WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
singleuse.pl async: DoH improvements 2025-04-16 16:06:03 +02:00
verify-release configure: fail if PSL is not disabled but not found 2024-08-05 08:33:58 +02:00
wcurl wcurl: import v2025.04.20 script + docs 2025-04-21 11:06:44 +02:00