mirror of
https://github.com/curl/curl.git
synced 2025-09-01 01:45:03 +03:00
Rework the way `tool_hugehelp.c` is included in builds. After this patch, with `./configure` and CMake `tool_hugehelp.c` is only compiled when building with manuals enabled. With manuals disabled this source file is not used anymore. The method is similar to how8a3740bc8e
implemented `tool_ca_embed.c`. `./configure` always generates it as before, otherwise the build fails. - winbuild: rework to not need `buildconf.bat`, but automatically use `tool_hugehelp.c` if present (e.g. when building from an official source tarball) and enable `USE_MANUAL` accordingly. - `buildconf.bat`: after dropping `tool_hugehelp.c` generation, the only logic left was `cp Makefile.dist Makefile`. This allowed to launch winbuild builds via GNU Make in a Git repo. Drop this option together with the batch file. - build `libcurltool` without `USE_MANUAL` macro to exclude the manual and the dependence on the generator commands. Drop relying on `UNITTESTS` for this purpose. Follow-up to96843f4ef7
#16068 - `src/mkhelp.pl`: include `tool_hugehelp.h` before using `USE_MANUAL` to have it set in `config-*.h` builds with source tarballs created with manual but without zlib. Closes #16081
29 lines
832 B
Markdown
29 lines
832 B
Markdown
_ _ ____ _
|
|
___| | | | _ \| |
|
|
/ __| | | | |_) | |
|
|
| (__| |_| | _ <| |___
|
|
\___|\___/|_| \_\_____|
|
|
|
|
# GIT-INFO
|
|
|
|
This file is only present in git - never in release archives. It contains
|
|
information about other files and things that the git repository keeps in its
|
|
inner sanctum.
|
|
|
|
To build in environments that support configure, after having extracted
|
|
everything from git, do this:
|
|
|
|
autoreconf -fi
|
|
./configure --with-openssl
|
|
make
|
|
|
|
Daniel uses a configure line similar to this for easier development:
|
|
|
|
./configure --disable-shared --enable-debug --enable-maintainer-mode
|
|
|
|
## REQUIREMENTS
|
|
|
|
See [docs/INTERNALS.md][0] for requirement details.
|
|
|
|
[0]: docs/INTERNALS.md
|