Commit 44b9b196 authored by Hib Eris's avatar Hib Eris

Respect prefix when installing nautilus extensions

Fixes bug #505359.
parent d8080879
......@@ -371,7 +371,9 @@ if test "$enable_nautilus" = "yes" ; then
PKG_CHECK_MODULES([NAUTILUS],[gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED],
[],[AC_MSG_ERROR([libnautilus-extension not found; use --disable-nautilus to disable the nautilus extensions])])
NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension`
AC_SUBST([nautilusextensiondir],[$NAUTILUS_EXTENSION_DIR])
NAUTILUS_EXTENSION_DIR=${NAUTILUS_EXTENSION_DIR#`$PKG_CONFIG --variable=libdir libnautilus-extension`}
NAUTILUS_EXTENSION_DIR=${NAUTILUS_EXTENSION_DIR#/}
AC_SUBST(NAUTILUS_EXTENSION_DIR)
AC_SUBST(NAUTILUS_CFLAGS)
AC_SUBST(NAUTILUS_LIBS)
......
......@@ -16,6 +16,7 @@ libevproperties_la_SOURCES= \
if ENABLE_NAUTILUS
nautilusextensiondir=$(libdir)/$(NAUTILUS_EXTENSION_DIR)
nautilusextension_LTLIBRARIES = libevince-properties-page.la
libevince_properties_page_la_CFLAGS = -I$(top_srcdir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment