git/contrib/buildsystems
Patrick Steinhardt cbcc2f7911 GIT-BUILD-OPTIONS: wire up NO_GITWEB option
Building our "gitweb" interface is optional in our Makefile and in Meson
and not wired up at all with CMake, but disabling it causes a couple of
tests in the t950* range that pull in "t/lib-gitweb.sh". This is because
the test library knows to execute gitweb-tests based on whether or not
Perl is available, but we may have Perl available and still end up not
building gitweb e.g. with `make test NO_GITWEB=YesPlease`.

Fix this issue by wiring up a new "NO_GITWEB" build option so that we
can skip these tests in case gitweb is not built.

Note that this new build option requires us to move the configuration of
GIT-BUILD-OPTIONS to a later point in our Meson build instructions. But
as that file is only consumed by our tests at runtime this change does
not cause any issues.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-12-27 08:17:19 -08:00
..
Generators win32: add a helper to run `git.exe` without a foreground window 2023-08-09 13:58:13 -07:00
CMakeLists.txt GIT-BUILD-OPTIONS: wire up NO_GITWEB option 2024-12-27 08:17:19 -08:00
Generators.pm contrib/buildsystems: ignore irrelevant files in Generators/ 2019-07-29 14:51:42 -07:00
engine.pl win32: add a helper to run `git.exe` without a foreground window 2023-08-09 13:58:13 -07:00
generate mark Windows build scripts executable 2013-11-25 15:01:22 -08:00
git-version.in Makefile: refactor GIT-VERSION-GEN to be reusable 2024-12-07 07:52:08 +09:00
parse.pl mark Windows build scripts executable 2013-11-25 15:01:22 -08:00