[epiphany] Version the extensions dir with EPIPHANY_API_VERSION



commit 286c36cb576f5824e526c918ada4852d59532622
Author: Xan Lopez <xan gnome org>
Date:   Thu Apr 8 16:14:23 2010 +0200

    Version the extensions dir with EPIPHANY_API_VERSION
    
    We were using our normal release version, which is not where they are
    installed.

 data/epiphany.pc.in |    2 +-
 src/Makefile.am     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/epiphany.pc.in b/data/epiphany.pc.in
index 150ccb2..880f31f 100644
--- a/data/epiphany.pc.in
+++ b/data/epiphany.pc.in
@@ -2,7 +2,7 @@ prefix= prefix@
 exec_prefix= exec_prefix@
 libdir= libdir@
 includedir= includedir@/epiphany/@EPIPHANY_MAJOR@
-extensionsdir= libdir@/epiphany/@EPIPHANY_MAJOR@/extensions
+extensionsdir= libdir@/epiphany/@EPIPHANY_API_VERSION@/extensions
 loaderdir= libdir@/epiphany/@EPIPHANY_MAJOR@/loaders
 datarootdir= datarootdir@
 datadir= datadir@
diff --git a/src/Makefile.am b/src/Makefile.am
index 712b7f5..fd626da 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -102,7 +102,7 @@ libephymain_la_CPPFLAGS = \
 	-I$(top_srcdir)/lib/egg		\
 	-I$(top_srcdir)/lib/widgets   	\
 	-I$(top_srcdir)/src/bookmarks   \
-	-DEXTENSIONS_DIR=\""$(libdir)/epiphany/$(EPIPHANY_MAJOR)/extensions"\" 	\
+	-DEXTENSIONS_DIR=\""$(libdir)/epiphany/$(EPIPHANY_API_VERSION)/extensions"\" 	\
 	-DLOADER_DIR=\""$(libdir)/epiphany/$(EPIPHANY_MAJOR)/loaders"\"		\
 	-DDATADIR=\""$(pkgdatadir)"\" 	\
 	-DGNOMELOCALEDIR=\"$(datadir)/locale\"	\



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