summaryrefslogtreecommitdiff
path: root/templates/meson.build
blob: 02e6eebe80be290d07f427eacc4f6b301d659d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
template_config = configuration_data()
template_config.set('PERL_PATH', target_perl.found() ? fs.as_posix(target_perl.full_path()) : '')
template_config.set('SHELL_PATH', fs.as_posix(target_shell.full_path()))
template_config.set('GITWEBDIR', fs.as_posix(get_option('prefix') / get_option('datadir') / 'gitweb'))

configure_file(
  input: 'description',
  output: 'description',
  configuration: template_config,
  install: true,
  install_dir: get_option('datadir') / 'git-core/templates',
)

subdir('hooks')
subdir('info')