mirror of https://github.com/GNOME/gimp.git
64 lines
1.5 KiB
Meson
64 lines
1.5 KiB
Meson
|
|
# Configure_file is just here to rename the files
|
|
manconf = configuration_data()
|
|
manconf.set('GIMP_VERSION', gimp_version)
|
|
manconf.set('gimpdatadir', prefix / gimpdatadir)
|
|
manconf.set('gimplocaledir', prefix / localedir)
|
|
manconf.set('gimpplugindir', prefix / gimpplugindir)
|
|
manconf.set('manpage_gimpdir', '$XDG_CONFIG_HOME/' + gimpdir / gimp_app_version)
|
|
manconf.set('gimpsysconfdir', prefix / gimpsysconfdir)
|
|
manconf.set('mypaint_brushes_dir', mypaint_brushes_dir)
|
|
|
|
|
|
man_files = [
|
|
configure_file(
|
|
input : 'gimptool.1.in',
|
|
output: 'gimptool-' + gimp_app_version + '.1',
|
|
configuration: manconf,
|
|
),
|
|
configure_file(
|
|
input : 'gimptool.1.in',
|
|
output: 'gimptool.1',
|
|
configuration: manconf,
|
|
),
|
|
|
|
configure_file(
|
|
input : 'gimprc.5.in',
|
|
output: 'gimprc-' + gimp_app_version + '.5',
|
|
configuration: manconf,
|
|
),
|
|
configure_file(
|
|
input : 'gimprc.5.in',
|
|
output: 'gimprc.5',
|
|
configuration: manconf,
|
|
),
|
|
]
|
|
|
|
if enable_console_bin
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp-console-' + gimp_app_version + '.1',
|
|
configuration: manconf,
|
|
)
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp-console.1',
|
|
configuration: manconf,
|
|
)
|
|
endif
|
|
|
|
if enable_default_bin
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp-' + gimp_app_version + '.1',
|
|
configuration: manconf,
|
|
)
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp.1',
|
|
configuration: manconf,
|
|
)
|
|
endif
|
|
|
|
install_man(man_files)
|