|
| 1 | +configure_file( |
| 2 | + input: 'gitweb.perl', |
| 3 | + output: 'gitweb.cgi', |
| 4 | + configuration: { |
| 5 | + 'GIT_VERSION': meson.project_version(), |
| 6 | + 'GIT_BINDIR': get_option('prefix') / get_option('bindir'), |
| 7 | + 'GITWEB_CONFIG': get_option('gitweb_config'), |
| 8 | + 'GITWEB_CONFIG_SYSTEM': get_option('gitweb_config_system'), |
| 9 | + 'GITWEB_CONFIG_COMMON': get_option('gitweb_config_common'), |
| 10 | + 'GITWEB_HOME_LINK_STR': get_option('gitweb_home_link_str'), |
| 11 | + 'GITWEB_SITENAME': get_option('gitweb_sitename'), |
| 12 | + 'GITWEB_PROJECTROOT': get_option('gitweb_projectroot'), |
| 13 | + 'GITWEB_PROJECT_MAXDEPTH': get_option('gitweb_project_maxdepth'), |
| 14 | + 'GITWEB_EXPORT_OK': get_option('gitweb_export_ok'), |
| 15 | + 'GITWEB_STRICT_EXPORT': get_option('gitweb_strict_export'), |
| 16 | + 'GITWEB_BASE_URL': get_option('gitweb_base_url'), |
| 17 | + 'GITWEB_LIST': get_option('gitweb_list'), |
| 18 | + 'GITWEB_HOMETEXT': get_option('gitweb_hometext'), |
| 19 | + 'GITWEB_CSS': get_option('gitweb_css'), |
| 20 | + 'GITWEB_LOGO': get_option('gitweb_logo'), |
| 21 | + 'GITWEB_FAVICON': get_option('gitweb_favicon'), |
| 22 | + 'GITWEB_JS': get_option('gitweb_js'), |
| 23 | + 'GITWEB_SITE_HTML_HEAD_STRING': get_option('gitweb_site_html_head_string'), |
| 24 | + 'GITWEB_SITE_HEADER': get_option('gitweb_site_header'), |
| 25 | + 'GITWEB_SITE_FOOTER': get_option('gitweb_site_footer'), |
| 26 | + 'HIGHLIGHT_BIN': get_option('highlight_bin'), |
| 27 | + }, |
| 28 | + install: true, |
| 29 | + install_dir: get_option('datadir') / 'gitweb', |
| 30 | +) |
| 31 | + |
| 32 | +subdir('static') |
0 commit comments