build: fix header installation paths

This commit is contained in:
Christian Hergert
2017-09-28 17:44:02 -07:00
parent 190faa818d
commit 00b6892a72
9 changed files with 128 additions and 52 deletions

View File

@ -1,11 +1,17 @@
libsysprof_headers += files([
profiler_headers = [
'sp-local-profiler.h',
'sp-profile.h',
'sp-profiler.h',
])
]
libsysprof_sources += files([
profiler_sources = [
'sp-local-profiler.c',
'sp-profile.c',
'sp-profiler.c',
])
]
libsysprof_headers += files(profiler_headers)
libsysprof_sources += files(profiler_sources)
install_headers(profiler_headers,
subdir: join_paths(libsysprof_header_subdir, 'profiler'))