curl/docs/libcurl
Viktor Szakats bb84f82476
cmake: speed up libcurl doc building again
This time limit the number of files per command to avoid exceeding
limitations of certain OS/shell envs.

Such known env is Windows with the `cmd.exe` shell, which features an
8K command-line length limit to this day.

Allowlisting `UNIX` to have no limit and using a limit of 200 for other
envs to be safe. If there is a way to detect `cmd.exe` and/or we know
which precise envs are sensitive to this, we can tweak these conditions
further.

Even with the low limit, this patch reduces external commands by 200x,
making builds much faster.

Ref: #12762 2620aa930b (initial)
Ref: #13047 f03c85635f (revert)

Reviewed-by: Daniel Stenberg
Closes #13207
2024-04-04 09:21:17 +00:00
..
opts libcurl-opts: mention pipelining less 2024-04-01 14:41:52 +02:00
.gitignore gitignore: the generated libcurl-symbols.md 2024-01-25 16:34:06 +01:00
ABI.md docs: use present tense 2024-02-27 09:47:21 +01:00
CMakeLists.txt cmake: speed up libcurl doc building again 2024-04-04 09:21:17 +00:00
curl_easy_cleanup.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_duphandle.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_escape.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_getinfo.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_header.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_easy_init.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_nextheader.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_easy_option_by_id.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_option_by_name.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_option_next.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_pause.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_perform.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_recv.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_reset.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_send.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_setopt.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_strerror.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_unescape.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_easy_upkeep.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_escape.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_formadd.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_formfree.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_formget.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_free.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_getdate.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_getenv.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_global_cleanup.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_global_init_mem.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_global_init.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_global_sslset.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_global_trace.md curl_global_trace.md: shorten the description 2024-04-02 23:39:39 +02:00
curl_mime_addpart.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_data_cb.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_data.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_encoder.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_filedata.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_filename.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_free.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_headers.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_init.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_name.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_subparts.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mime_type.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_mprintf.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_add_handle.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_assign.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_cleanup.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_fdset.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_get_handles.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_info_read.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_init.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_perform.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_poll.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_remove_handle.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_setopt.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_socket_action.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_socket_all.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_socket.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_strerror.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_timeout.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_wait.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_multi_wakeup.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_pushheader_byname.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_pushheader_bynum.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_share_cleanup.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_share_init.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_share_setopt.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_share_strerror.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_slist_append.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_slist_free_all.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_strequal.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_strnequal.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_unescape.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_url_cleanup.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_url_dup.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_url_get.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_url_set.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_url_strerror.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_url.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_version_info.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_version.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
curl_ws_meta.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
curl_ws_recv.md docs/libcurl: add TLS backend info for all TLS options 2024-03-22 14:07:55 +01:00
curl_ws_send.md docs: make each libcurl man specify protocol(s) 2024-03-21 15:27:06 +01:00
libcurl-easy.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-env-dbg.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-env.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-errors.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-multi.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-security.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-share.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-thread.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-tutorial.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-url.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl-ws.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
libcurl.m4 misc: Fix typos in docs and lib 2024-03-01 09:59:48 +01:00
libcurl.md docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
Makefile.am docs: dist curl*.1 and install without perl 2024-02-20 10:35:13 +01:00
Makefile.inc libcurl-env-dbg.3: move debug variables from libcurl-env.3 2023-10-10 15:37:16 -04:00
mksymbolsmanpage.pl docs/libcurl: generate PROTOCOLS from meta-data 2024-03-23 18:13:03 +01:00
symbols-in-versions CURLINFO_USED_PROXY: return bool whether the proxy was used 2024-02-22 08:38:53 +01:00
symbols.pl docs: remove use of the word 'very' 2023-09-07 22:52:07 +02:00