Commit 7e1294f3 authored by Felipe Borges's avatar Felipe Borges 👣

build: Don't version the header dir

parent f59bdc45
......@@ -22,7 +22,7 @@ version_conf.set('MAJOR_VERSION', MAJOR_VERSION)
version_conf.set('MINOR_VERSION', MINOR_VERSION)
version_conf.set('MICRO_VERSION', MICRO_VERSION)
gtk_frdp_header_subdir = join_paths(package_subdir, 'gtk-frdp-' + api_version)
gtk_frdp_header_subdir = join_paths(package_subdir, 'gtk-frdp')
gtk_frdp_header_dir = join_paths(get_option('includedir'), gtk_frdp_header_subdir)
configure_file(
......@@ -47,7 +47,6 @@ gtk_frdp_lib = shared_library('gtk-frdp-' + api_version,
gtk_frdp_sources,
dependencies: gtk_frdp_deps,
install: true,
install_dir: libdir
)
gtk_frdp_dep = declare_dependency(
......@@ -57,7 +56,7 @@ gtk_frdp_dep = declare_dependency(
include_directories: include_directories('.'),
)
install_headers(gtk_frdp_headers, subdir: gtk_frdp_header_subdir)
install_headers(gtk_frdp_headers, subdir: 'gtk-frdp')
gtk_frdp_gir = gnome.generate_gir(gtk_frdp_lib,
sources: gtk_frdp_sources + gtk_frdp_headers,
......
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