Commit b53706d9 authored by Cosimo Cecchi's avatar Cosimo Cecchi

build: move appdata snippet to data/

Now that we have a meson.build there.
parent 7e9aa777
i18n = import('i18n')
appdatadir = join_paths(datadir, 'metainfo')
appdata_file = 'org.gnome.font-viewer.appdata.xml'
i18n.merge_file(appdata_file,
input: appdata_file + '.in',
output: appdata_file,
po_dir: '../po',
install: true,
install_dir: appdatadir
)
subdir('icons')
......@@ -7,7 +7,6 @@ project('gnome-font-viewer', 'c',
cc = meson.get_compiler('c')
gnome = import('gnome')
i18n = import('i18n')
prefix = get_option('prefix')
......@@ -18,7 +17,6 @@ localedir = join_paths(prefix, get_option('localedir'))
pkgdatadir = join_paths(datadir, meson.project_name())
appdatadir = join_paths(datadir, 'metainfo')
desktopdir = join_paths(datadir, 'applications')
servicesdir = join_paths(datadir, 'dbus-1', 'services')
thumbnailerdir = join_paths(datadir, 'thumbnailers')
......@@ -43,15 +41,6 @@ configure_file(output: 'config.h', configuration: config_h)
root_inc = include_directories('.')
appdata_file = 'org.gnome.font-viewer.appdata.xml'
i18n.merge_file(appdata_file,
input: 'data/' + appdata_file + '.in',
output: appdata_file,
po_dir: 'po',
install: true,
install_dir: appdatadir
)
subdir('src')
subdir('po')
subdir('data')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment