summaryrefslogtreecommitdiff
path: root/templates/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'templates/meson.build')
-rw-r--r--templates/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/meson.build b/templates/meson.build
new file mode 100644
index 0000000000..02e6eebe80
--- /dev/null
+++ b/templates/meson.build
@@ -0,0 +1,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')