summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-08-18 08:11:03 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-08-18 08:11:03 -0700
commit5876e7656cecc8378d275f90514e33c104dcece7 (patch)
tree8bc503d21841820be8c2f8fd995c423bfbd5d81a /src
parentbae5cd656500ce57d591d2957c8f2dffa387f978 (diff)
Allow plugin installation directories to be specified
Instead of always putting the plugins into ${libdir}/mozilla/plugins, allow the directories to be specified by --with-gtk2-plugindir and --with-gtk3-plugindir. This also changes the default for the gtk3 plugin to ${libdir}/epiphany/plugins until the mozilla based browsers can support gtk3 plugins.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d6b2266..dcf011b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,13 +19,11 @@ libevince3_plugin_la_LIBADD = libevbp3-viewer.la
libevince3_plugin_la_SOURCES = $(libevince2_plugin_la_SOURCES)
noinst_LTLIBRARIES =
-plugindir = $(libdir)/mozilla/plugins
-plugin_LTLIBRARIES =
if ENABLE_GTK2
noinst_LTLIBRARIES += libevbp2-viewer.la
-plugin_LTLIBRARIES += libevince2-plugin.la
+gtk2_plugin_LTLIBRARIES = libevince2-plugin.la
endif
if ENABLE_GTK3
noinst_LTLIBRARIES += libevbp3-viewer.la
-plugin_LTLIBRARIES += libevince3-plugin.la
+gtk3_plugin_LTLIBRARIES = libevince3-plugin.la
endif