mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
meson: remove unnecessary argument nesting
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
install_static = not meson.is_subproject() and get_option('install-static')
|
||||
|
||||
libsysprof_capture_headers = files([
|
||||
libsysprof_capture_headers = files(
|
||||
'sysprof-address.h',
|
||||
'sysprof-clock.h',
|
||||
'sysprof-capture-condition.h',
|
||||
@ -13,17 +13,17 @@ libsysprof_capture_headers = files([
|
||||
'sysprof-platform.h',
|
||||
'sysprof-capture.h',
|
||||
'sysprof-version-macros.h',
|
||||
])
|
||||
)
|
||||
|
||||
if not meson.is_subproject()
|
||||
install_headers(libsysprof_capture_headers, subdir: sysprof_header_subdir)
|
||||
endif
|
||||
|
||||
mapped_ring_buffer_sources = files([
|
||||
mapped_ring_buffer_sources = files(
|
||||
'mapped-ring-buffer.c',
|
||||
])
|
||||
)
|
||||
|
||||
libsysprof_capture_sources = files([
|
||||
libsysprof_capture_sources = files(
|
||||
'sysprof-address.c',
|
||||
'sysprof-capture-condition.c',
|
||||
'sysprof-capture-cursor.c',
|
||||
@ -34,7 +34,7 @@ libsysprof_capture_sources = files([
|
||||
'sysprof-collector.c',
|
||||
'sysprof-clock.c',
|
||||
'sysprof-platform.c',
|
||||
])
|
||||
)
|
||||
|
||||
configure_file(
|
||||
input: 'sysprof-version.h.in',
|
||||
|
||||
@ -22,6 +22,6 @@ sysprof_agent = executable('sysprof-agent', sysprof_agent_sources,
|
||||
install: true,
|
||||
)
|
||||
|
||||
install_data(['org.gnome.Sysprof.Agent.xml'],
|
||||
install_data('org.gnome.Sysprof.Agent.xml',
|
||||
install_dir: join_paths(datadir, 'dbus-1/interfaces'),
|
||||
)
|
||||
|
||||
@ -80,9 +80,8 @@ i18n.merge_file(
|
||||
install_dir: join_paths(datadir, 'polkit-1/actions'),
|
||||
)
|
||||
|
||||
install_data([
|
||||
'org.gnome.Sysprof3.Profiler.xml',
|
||||
'org.gnome.Sysprof3.Service.xml',
|
||||
],
|
||||
install_data(
|
||||
'org.gnome.Sysprof3.Profiler.xml',
|
||||
'org.gnome.Sysprof3.Service.xml',
|
||||
install_dir: join_paths(datadir, 'dbus-1/interfaces'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user