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,12 +1,12 @@
libsysprof_headers += files([
sources_headers = [
'sp-gjs-source.h',
'sp-hostinfo-source.h',
'sp-perf-source.h',
'sp-proc-source.h',
'sp-source.h',
])
]
libsysprof_sources += files([
sources_sources = [
'sp-gjs-source.c',
'sp-hostinfo-source.c',
'sp-perf-counter.c',
@ -14,4 +14,10 @@ libsysprof_sources += files([
'sp-perf-source.c',
'sp-proc-source.c',
'sp-source.c',
])
]
libsysprof_headers += files(sources_headers)
libsysprof_sources += files(sources_sources)
install_headers(sources_headers,
subdir: join_paths(libsysprof_header_subdir, 'sources'))