-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: drop tool_hugehelp.c.cvs
, tidy up macros, drop buildconf.bat
#16081
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aaefb69
to
8943e14
Compare
48fda62
to
f4ac904
Compare
fix hugehelp generation in cases when the .cvs file was missing. in reality this happened only if someone created a GIT-INFO.md file inside an official source tarball and used buildconf.bat. Follow-up to 9a0cf56 curl#13997
It's no longer required to be present unconditionally. Stop setting the `USE_MANUAL` macro instead.
It's unlikely this ever worked to actually include a manual. Unless manually building it with Perl. In that case this macro needs to be set manually via `CPPFLAGS`.
This reverts commit f4ac904.
This reverts commit 3b58d0e.
This reverts commit cc3c583.
This reverts commit 615aecb.
To avoid causing compiler warnings when included in the build but without `-DUSE_MANUAL`.
f4ac904
to
8143ff4
Compare
2fccd22
to
1b7e2d8
Compare
This drops `make vc` and `make vc-x64` to launch winbuild builds via GNU Make. You can do this instead: make vc: % cd winbuild % nmake /f Makefile.vc MACHINE=x86 make vc-x64: $ cd winbuild % nmake /f Makefile.vc MACHINE=x64
tool_hugehelp.c.cvs
, tidy up feature macrostool_hugehelp.c.cvs
, tidy up macros, drop buildconf.bat
bagder
approved these changes
Jan 26, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rework the way
tool_hugehelp.c
is included in builds.After this patch, with
./configure
and CMaketool_hugehelp.c
is onlycompiled when building with manuals enabled. With manuals disabled this
source file is not used anymore. The method is similar to how
8a3740b implemented
tool_ca_embed.c
../configure
always generates it as before, otherwise the build fails.winbuild: rework to not need
buildconf.bat
, but automatically usetool_hugehelp.c
if present (e.g. when building from an officialsource tarball) and enable
USE_MANUAL
accordingly.buildconf.bat
: after droppingtool_hugehelp.c
generation, the onlylogic left was
cp Makefile.dist Makefile
. This allowed to launchwinbuild builds via GNU Make in a Git repo. Drop this option together
with the batch file.
build
libcurltool
withoutUSE_MANUAL
macro to exclude the manualand the dependence on the generator commands. Drop relying on
UNITTESTS
for this purpose.Follow-up to 96843f4 src: omit hugehelp and ca-embed from libcurltool #16068
src/mkhelp.pl
: includetool_hugehelp.h
before usingUSE_MANUAL
to have it set in
config-*.h
builds with source tarballs createdwith manual but without zlib.
tool_hugehelp.c
withingMakefile.vc
and set
USE_MANUAL
when detected. This would allow dropping thestub generator logic, and then the whole
buildconf.bat
script with it,which does nothing else, except
cp Makefile.dist Makefile
, to allowlaunching winbuild via GNU Make.
podman
commit to separate PR pending.buildconf.bat
to separate PR pending.UNITTESTS
guards for hugehelp and ca-embed.Follow-up to 96843f4 src: omit hugehelp and ca-embed from libcurltool #16068