[gnome-autoar] general: generate include dir for autoar-gtk too



commit 0fec26dc6335e660d528058e7c9ebedcd7f80d5e
Author: Carlos Soriano <csoriano gnome org>
Date:   Thu Aug 25 21:06:28 2016 +0200

    general: generate include dir for autoar-gtk too
    
    So we can depend on a specific API version.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770412

 Makefile.am                         |    5 +++--
 gnome-autoar/gnome-autoar-gtk.pc.in |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index efb40a5..3bccc5a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -88,9 +88,10 @@ gnome_autoar_libgnome_autoar_@LIBGNOME_AUTOAR_API_VERSION@_la_LIBADD = \
 if ENABLE_GTK
 
 lib_LTLIBRARIES += gnome-autoar/libgnome-autoar-gtk-@LIBGNOME_AUTOAR_API_VERSION@.la
-nodist_pkgconfig_DATA = gnome-autoar/gnome-autoar-gtk-$(LIBGNOME_AUTOAR_API_VERSION).pc
+nodist_pkgconfig_DATA += gnome-autoar/gnome-autoar-gtk-$(LIBGNOME_AUTOAR_API_VERSION).pc
 
-autoarinclude_HEADERS += \
+autoargtkincludedir = $(includedir)/gnome-autoar-gtk-$(LIBGNOME_AUTOAR_API_VERSION)/gnome-autoar-gtk
+autoargtkinclude_HEADERS = \
        gnome-autoar/autoar-gtk.h               \
        $(libgnome_autoar_gtk_la_headers)       \
        $(NULL)
diff --git a/gnome-autoar/gnome-autoar-gtk.pc.in b/gnome-autoar/gnome-autoar-gtk.pc.in
index 8fee615..139cc6d 100644
--- a/gnome-autoar/gnome-autoar-gtk.pc.in
+++ b/gnome-autoar/gnome-autoar-gtk.pc.in
@@ -8,4 +8,4 @@ Description: GTK+ widgets for gnome-autoar library
 Version: @VERSION@
 Requires: gtk+-3.0
 Libs: -L${libdir} -lgnome-autoar-gtk-@LIBGNOME_AUTOAR_API_VERSION@
-Cflags: -I${includedir}/gnome-autoar-@LIBGNOME_AUTOAR_API_VERSION@
+Cflags: -I${includedir}/gnome-autoar-gtk-@LIBGNOME_AUTOAR_API_VERSION@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]