[gthumb] use the api version for the include directory name



commit 92b15210b59b9c4692f20270d0ca0bbfd112de0c
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Jan 17 16:34:59 2010 +0100

    use the api version for the include directory name

 data/gthumb.pc.in  |    2 +-
 gthumb/Makefile.am |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/gthumb.pc.in b/data/gthumb.pc.in
index 7bd168d..9e80dcc 100644
--- a/data/gthumb.pc.in
+++ b/data/gthumb.pc.in
@@ -1,7 +1,7 @@
 prefix= prefix@
 exec_prefix= exec_prefix@
 libdir= libdir@/gthumb
-includedir= includedir@/gthumb
+includedir= includedir@/gthumb- GTHUMB_API_VERSION@
 extensionsdir= libdir@/gthumb/extensions
 datarootdir= datarootdir@
 datadir= datadir@
diff --git a/gthumb/Makefile.am b/gthumb/Makefile.am
index b40309d..8dd5f48 100644
--- a/gthumb/Makefile.am
+++ b/gthumb/Makefile.am
@@ -303,10 +303,10 @@ AUTHORS.tab : $(top_srcdir)/AUTHORS
 	$(AM_V_GEN)( sed -e 's/^/"/' -e 's/$$/",/' < $(top_srcdir)/AUTHORS > $  tmp \
 	&& mv $  tmp $@ )
 
-gthumbincludedir = $(includedir)/gthumb-2.0
+gthumbincludedir = $(includedir)/gthumb-$(GTHUMB_API_VERSION)
 gthumbinclude_HEADERS = gthumb.h
 
-gthumbsubincludedir = $(includedir)/gthumb-2.0/gthumb
+gthumbsubincludedir = $(includedir)/gthumb-$(GTHUMB_API_VERSION)/gthumb
 gthumbsubinclude_HEADERS = $(PUBLIC_HEADER_FILES)
 
 BUILT_SOURCES = AUTHORS.tab gthumb.h $(MARSHALLERS) $(ENUM_TYPES)



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