[Xfce4-commits] <xfce4-notifyd:master> Allow installation of the helpers in a custom location.
Nick Schermer
noreply at xfce.org
Sat Feb 12 17:46:01 CET 2011
Updating branch refs/heads/master
to cc1c297f9f32b883dfbb676cbe6fbf5d56eeaea7 (commit)
from fdccd7ca9a4506d1eee78d47df5bd68e0e0b74f6 (commit)
commit cc1c297f9f32b883dfbb676cbe6fbf5d56eeaea7
Author: Guido Berhoerster <gber at opensuse.org>
Date: Sat Feb 12 17:45:10 2011 +0100
Allow installation of the helpers in a custom location.
Makefile.am | 2 +-
configure.ac.in | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 65c249b..2cdc751 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,7 +13,7 @@ distclean_intltool = \
intltool-merge \
intltool-update
-xfce4_notifyddir = $(libdir)/xfce4/notifyd
+xfce4_notifyddir = $(HELPER_PATH_PREFIX)/xfce4/notifyd
xfce4_notifyd_PROGRAMS = xfce4-notifyd/xfce4-notifyd
bin_PROGRAMS = xfce4-notifyd-config/xfce4-notifyd-config
diff --git a/configure.ac.in b/configure.ac.in
index 94cea39..b092f97 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -28,6 +28,14 @@ dnl init automake
AM_INIT_AUTOMAKE([1.10 dist-bzip2 subdir-objects])
AM_MAINTAINER_MODE()
+dnl set helper path prefix
+AC_ARG_WITH([helper-path-prefix],
+ [AC_HELP_STRING([--with-helper-path-prefix=PATH],
+ [Path prefix under which helper executables will be installed (default: $libdir)])],
+ [HELPER_PATH_PREFIX="$withval"],
+ [HELPER_PATH_PREFIX="$libdir"])
+AC_SUBST([HELPER_PATH_PREFIX])
+
dnl check for UNIX variants
AC_USE_SYSTEM_EXTENSIONS()
More information about the Xfce4-commits
mailing list