Raw
1 template_config = configuration_data()
2 template_config.set('PERL_PATH', target_perl.found() ? fs.as_posix(target_perl.full_path()) : '')
3 template_config.set('SHELL_PATH', fs.as_posix(target_shell.full_path()))
4 template_config.set('GITWEBDIR', fs.as_posix(get_option('prefix') / get_option('datadir') / 'gitweb'))
5
6 configure_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
14 subdir('hooks')
15 subdir('info')