1456
build_options_config.set('RUNTIME_PREFIX', 'false')
1457
endif
1458
1459
-foreach key, value : {
1460
- 'DIFF': diff.full_path(),
1461
- 'GIT_TEST_CMP': diff.full_path() + ' -u',
1462
- 'GIT_TEST_GITPERLLIB': meson.project_build_root() / 'perl',
1463
- 'GIT_TEST_MERGE_TOOLS_DIR': meson.project_source_root() / 'mergetools',
1464
- 'GIT_TEST_POPATH': meson.project_source_root() / 'po',
1465
- 'GIT_TEST_TEMPLATE_DIR': meson.project_build_root() / 'templates',
1466
- 'GIT_TEST_TEXTDOMAINDIR': meson.project_build_root() / 'po',
1467
- 'PAGER_ENV': get_option('pager_environment'),
1468
- 'PERL_PATH': perl.found() ? perl.full_path() : '',
1469
- 'PYTHON_PATH': python.found () ? python.full_path() : '',
1470
- 'SHELL_PATH': shell.full_path(),
1471
- 'TAR': tar.full_path(),
1472
- 'TEST_OUTPUT_DIRECTORY': test_output_directory,
1473
- 'TEST_SHELL_PATH': shell.full_path(),
1474
-}
1475
- if value != '' and cygpath.found()
1476
- value = run_command(cygpath, value, check: true).stdout().strip()
1477
- endif
1478
- build_options_config.set_quoted(key, value)
1479
-endforeach
1480
-
1481
-configure_file(
1482
- input: 'GIT-BUILD-OPTIONS.in',
1483
- output: 'GIT-BUILD-OPTIONS',
1484
- configuration: build_options_config,
1485
-)
1486
-
1459
git_version_file = custom_target(
1460
command: [
1461
shell,
1865
gitweb_option = get_option('gitweb').disable_auto_if(not perl.found())
1866
if gitweb_option.enabled()
1867
subdir('gitweb')
1868
+ build_options_config.set('NO_GITWEB', '')
1869
+else
1870
+ build_options_config.set('NO_GITWEB', '1')
1871
endif
1872
1873
subdir('templates')
1884
subdir('Documentation')
1885
endif
1886
1887
+foreach key, value : {
1888
+ 'DIFF': diff.full_path(),
1889
+ 'GIT_TEST_CMP': diff.full_path() + ' -u',
1890
+ 'GIT_TEST_GITPERLLIB': meson.project_build_root() / 'perl',
1891
+ 'GIT_TEST_MERGE_TOOLS_DIR': meson.project_source_root() / 'mergetools',
1892
+ 'GIT_TEST_POPATH': meson.project_source_root() / 'po',
1893
+ 'GIT_TEST_TEMPLATE_DIR': meson.project_build_root() / 'templates',
1894
+ 'GIT_TEST_TEXTDOMAINDIR': meson.project_build_root() / 'po',
1895
+ 'PAGER_ENV': get_option('pager_environment'),
1896
+ 'PERL_PATH': perl.found() ? perl.full_path() : '',
1897
+ 'PYTHON_PATH': python.found () ? python.full_path() : '',
1898
+ 'SHELL_PATH': shell.full_path(),
1899
+ 'TAR': tar.full_path(),
1900
+ 'TEST_OUTPUT_DIRECTORY': test_output_directory,
1901
+ 'TEST_SHELL_PATH': shell.full_path(),
1902
+}
1903
+ if value != '' and cygpath.found()
1904
+ value = run_command(cygpath, value, check: true).stdout().strip()
1905
+ endif
1906
+ build_options_config.set_quoted(key, value)
1907
+endforeach
1908
+
1909
+configure_file(
1910
+ input: 'GIT-BUILD-OPTIONS.in',
1911
+ output: 'GIT-BUILD-OPTIONS',
1912
+ configuration: build_options_config,
1913
+)
1914
+
1915
summary({
1916
'curl': curl.found(),
1917
'expat': expat.found(),