Git fork
1template_config = configuration_data()
2template_config.set('PERL_PATH', target_perl.found() ? fs.as_posix(target_perl.full_path()) : '')
3template_config.set('SHELL_PATH', fs.as_posix(target_shell.full_path()))
4template_config.set('GITWEBDIR', fs.as_posix(get_option('prefix') / get_option('datadir') / 'gitweb'))
5
6configure_file(
7 input: 'description',
8 output: 'description',
9 configuration: template_config,
10 install: true,
11 install_dir: get_option('datadir') / 'git-core/templates',
12)
13
14subdir('hooks')
15subdir('info')