diff options
author | Kaushik BV <kaushikbv@gluster.com> | 2011-03-13 23:10:14 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-14 04:56:50 -0700 |
commit | 086ef357b64d4b7e5340226ada639813b1efd101 (patch) | |
tree | 9610d70637ed05b1cf2abce2bbdb5f5f73184530 /xlators | |
parent | 2108ee66f226a124fd2ec20692e9941ed15464a5 (diff) |
Gsyncd: Include a directory glusterfs in the libexecdir, so that it is not cumbersome with other scripts
Signed-off-by: Kaushik BV <kaushikbv@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2477 (Cleanup up the installation of geo-replication scripts.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2477
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/features/marker/utils/Makefile.am | 2 | ||||
-rwxr-xr-x | xlators/features/marker/utils/gsyncd.in | 2 | ||||
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/Makefile.am | 2 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/Makefile.am | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/xlators/features/marker/utils/Makefile.am b/xlators/features/marker/utils/Makefile.am index 8aefea4011b..84e926c00eb 100644 --- a/xlators/features/marker/utils/Makefile.am +++ b/xlators/features/marker/utils/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = syncdaemon -gsyncddir = $(libexecdir) +gsyncddir = $(libexecdir)/glusterfs gsyncd_SCRIPTS = gsyncd diff --git a/xlators/features/marker/utils/gsyncd.in b/xlators/features/marker/utils/gsyncd.in index 9bbf8041f36..7703c7b5905 100755 --- a/xlators/features/marker/utils/gsyncd.in +++ b/xlators/features/marker/utils/gsyncd.in @@ -4,4 +4,4 @@ prefix="@prefix@" exec_prefix="@exec_prefix@" libexecdir=`eval echo "@libexecdir@"` -PYTHONPATH="$libexecdir"/python exec @PYTHON@ -c "from syncdaemon import gsyncd; gsyncd.main()" -c @sysconfdir@/glusterfs/gsyncd.conf "$@" +PYTHONPATH="$libexecdir"/glusterfs/python exec @PYTHON@ -c "from syncdaemon import gsyncd; gsyncd.main()" -c @sysconfdir@/glusterfs/gsyncd.conf "$@" diff --git a/xlators/features/marker/utils/syncdaemon/Makefile.am b/xlators/features/marker/utils/syncdaemon/Makefile.am index 1e4f1dac52e..03ac9762541 100644 --- a/xlators/features/marker/utils/syncdaemon/Makefile.am +++ b/xlators/features/marker/utils/syncdaemon/Makefile.am @@ -1,4 +1,4 @@ -syncdaemondir = $(libexecdir)/python/syncdaemon +syncdaemondir = $(libexecdir)/glusterfs/python/syncdaemon syncdaemon_PYTHON = gconf.py gsyncd.py __init__.py master.py README.md repce.py resource.py configinterface.py syncdutils.py diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am index cfed2fd4b22..1c89dba9776 100644 --- a/xlators/mgmt/glusterd/src/Makefile.am +++ b/xlators/mgmt/glusterd/src/Makefile.am @@ -16,7 +16,8 @@ AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\ -I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_CFLAGS)\ -I$(rpclibdir) -L$(xlatordir)/ -I$(CONTRIBDIR)/rbtree -I$(top_srcdir)/rpc/xdr/src\ -I$(top_srcdir)/rpc/rpc-lib/src -I$(CONTRIBDIR)/uuid -I$(top_srcdir)/contrib/md5 -DGFS_PREFIX=\"$(prefix)\" \ - -DDATADIR=\"$(localstatedir)\" -DGSYNCD_PREFIX=\"$(libexecdir)\" + -DDATADIR=\"$(localstatedir)\" -DGSYNCD_PREFIX=\"$(libexecdir)/glusterfs\"\ + -DSYNCDAEMON_COMPILE=$(SYNCDAEMON_COMPILE) CLEANFILES = |