From 2c08eeda6b9db68b504bbfb41459c214adad8dbd Mon Sep 17 00:00:00 2001 From: Wouter Bolsterlee Date: Sun, 13 Jan 2008 14:31:59 +0000 Subject: Get the nautilus extension dir properly instead of using a hack. Fixes bug 2008-01-13 Wouter Bolsterlee * properties/Makefile.am: Get the nautilus extension dir properly instead of using a hack. Fixes bug #505359. svn path=/trunk/; revision=2820 --- diff --git a/ChangeLog b/ChangeLog index 99b93ae..ebfee6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-13 Wouter Bolsterlee + + * properties/Makefile.am: + + Get the nautilus extension dir properly instead of using + a hack. Fixes bug #505359. + 2008-01-13 Nickolay V. Shmyrev * properties/Makefile.am: diff --git a/configure.ac b/configure.ac index afd29ed..0b4a765 100644 --- a/configure.ac +++ b/configure.ac @@ -188,6 +188,8 @@ AC_ARG_ENABLE(nautilus, if test x$ENABLE_NAUTILUS = "xyes" ; then PKG_CHECK_MODULES(NAUTILUS, gtk+-x11-2.0 $MM gthread-2.0 libnautilus-extension, [HAVE_NAUTILUS=yes], [HAVE_NAUTILUS=no]) + NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension` + AC_SUBST(NAUTILUS_EXTENSION_DIR) fi AC_SUBST(NAUTILUS_CFLAGS) diff --git a/properties/Makefile.am b/properties/Makefile.am index a1e9d95..69eec0c 100644 --- a/properties/Makefile.am +++ b/properties/Makefile.am @@ -21,7 +21,7 @@ endif nautilus_LTLIBRARIES = $(EVINCE_PROPERTIES_PAGE) -nautilusdir = $(libdir)/nautilus/extensions-2.0/ +nautilusdir=$(NAUTILUS_EXTENSION_DIR) libevince_properties_page_la_CFLAGS = -I$(top_srcdir) libevince_properties_page_la_SOURCES = \ ev-properties-main.c -- cgit v0.9.1