build: Install the backend headers in the backend directories
authorBenjamin Otte <otte@redhat.com>
Mon, 6 May 2019 18:09:03 +0000 (20:09 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 6 May 2019 18:14:53 +0000 (20:14 +0200)
That's where they are in the sources and we include them from other
headers. So make sure the directories match.

gdk/broadway/meson.build
gdk/quartz/meson.build
gdk/wayland/meson.build
gdk/win32/meson.build
gdk/x11/meson.build

index 590440ace0259bf070630609716670d07a96e990..92189ec2702e29e715d8629d7bd60a443fe616f7 100644 (file)
@@ -25,8 +25,7 @@ gdk_broadway_public_headers = [
 ]
 
 # Broadway backend headers aren't installed it seems
-#install_headers(gdk_broadway_public_headers, subdir: 'gtk-4.0/gdk/broadway/')
-#install_headers('gdkbroadway.h', subdir: 'gtk-4.0/gdk/')
+#install_headers(gdk_broadway_public_headers, 'gdkbroadway.h', subdir: 'gtk-4.0/gdk/broadway/')
 
 gdk_broadway_deps = [shmlib]
 
index dabeb6b5b61c214e9d79307fa5ff21ad174ffb55..0575bb99a629daef72ba4c38e607ea66a0f985f7 100644 (file)
@@ -33,8 +33,7 @@ gdk_quartz_public_headers = files([
   'gdkquartzsurface.h',
 ])
 
-install_headers(gdk_quartz_public_headers, subdir: 'gtk-4.0/gdk/quartz/')
-install_headers('gdkquartz.h', subdir: 'gtk-4.0/gdk/')
+install_headers(gdk_quartz_public_headers, 'gdkquartz.h', subdir: 'gtk-4.0/gdk/quartz/')
 
 gdk_quartz_deps = [ # FIXME
 ]
index 40f08bdd885428ef702e0997eeb44ba950bcfaa4..f40fe3b415434dc8161fc47a11895e3bb46a33db 100644 (file)
@@ -26,8 +26,7 @@ gdk_wayland_public_headers = files([
   'gdkwaylandsurface.h'
 ])
 
-install_headers(gdk_wayland_public_headers, subdir: 'gtk-4.0/gdk/wayland/')
-install_headers('gdkwayland.h', subdir: 'gtk-4.0/gdk/')
+install_headers(gdk_wayland_public_headers, 'gdkwayland.h', subdir: 'gtk-4.0/gdk/wayland/')
 
 gdk_wayland_deps = [
   shmlib,
index 45915f2a8f7193330157acb2385472f3cfb482c4..11f8da78b203c5b0a27dadb2f00d52efebed96a4 100644 (file)
@@ -42,8 +42,7 @@ gdk_win32_public_headers = files([
   'gdkwin32surface.h',
 ])
 
-install_headers(gdk_win32_public_headers, subdir: 'gtk-4.0/gdk/win32/')
-install_headers('gdkwin32.h', subdir: 'gtk-4.0/gdk/')
+install_headers(gdk_win32_public_headers, 'gdkwin32.h', subdir: 'gtk-4.0/gdk/win32/')
 
 gdk_win32_deps = [ # FIXME
     pangowin32_dep
index 03d314feefa8ef70af80648a62155eee21fdbec6..06d6d8b497aef95cd2d2821706caf2f2eb88b99e 100644 (file)
@@ -54,8 +54,7 @@ gdk_x11_public_headers = files([
   'gdkx11surface.h',
 ])
 
-install_headers(gdk_x11_public_headers, subdir: 'gtk-4.0/gdk/x11/')
-install_headers('gdkx.h', subdir: 'gtk-4.0/gdk/')
+install_headers(gdk_x11_public_headers, 'gdkx.h', subdir: 'gtk-4.0/gdk/x11/')
 
 gdk_x11_deps = [
   xrender_dep,