[gnome-shell] browser-plugin: Add support for BROWSER_PLUGIN_DIR environment variable
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] browser-plugin: Add support for BROWSER_PLUGIN_DIR environment variable
- Date: Thu, 15 Sep 2011 22:18:17 +0000 (UTC)
commit 063f34b5d374a2a866fb28d04f99d2ea154b48c3
Author: Vincent Untz <vuntz gnome org>
Date: Thu Sep 15 07:42:43 2011 +0200
browser-plugin: Add support for BROWSER_PLUGIN_DIR environment variable
This makes it easy to override where the plugin should be installed.
This is based on what totem does.
https://bugzilla.gnome.org/show_bug.cgi?id=659123
browser-plugin/Makefile.am | 2 +-
configure.ac | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/browser-plugin/Makefile.am b/browser-plugin/Makefile.am
index 4bfb350..0dc7da1 100644
--- a/browser-plugin/Makefile.am
+++ b/browser-plugin/Makefile.am
@@ -1,5 +1,5 @@
-mozillalibdir = $(libdir)/mozilla/plugins
+mozillalibdir = $(BROWSER_PLUGIN_DIR)
mozillalib_LTLIBRARIES = libgnome-shell-browser-plugin.la
diff --git a/configure.ac b/configure.ac
index a7493c9..93dd0a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -235,6 +235,9 @@ else
fi
AC_SUBST(SHELL_SYSTEM_CA_FILE,["$with_ca_certificates"])
+BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}"
+AC_ARG_VAR([BROWSER_PLUGIN_DIR],[Where to install the plugin to])
+
AC_CONFIG_FILES([
Makefile
data/Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]