summaryrefslogtreecommitdiffstats
path: root/extras/geo-rep/Makefile.am
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2014-02-06 17:16:20 +0530
committerVijay Bellur <vbellur@redhat.com>2014-02-10 16:34:02 -0800
commitd4e7dd1d2fe2a76318ddd0a7200a9d4fa51dbaf7 (patch)
treee9551d3ec08b3e3c58d08a628fcda913e86ea522 /extras/geo-rep/Makefile.am
parentc1c3ab9e4c96e059ba1abc1a0b5ba221ef6e3d8d (diff)
spec: geo-rep: Include hooks and upgrade scripts
Added hook script S56glusterd-geo-rep-create-post.sh to %{_sharedstatedir}/glusterd/hooks/1/gsync-create/post/ and upgrade scripts added to %{_datadir}/glusterfs/scripts/ BUG: 1036539 Change-Id: Id114b827824e55516181ab8f564d419c258be3e2 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/6926 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'extras/geo-rep/Makefile.am')
-rw-r--r--extras/geo-rep/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/geo-rep/Makefile.am b/extras/geo-rep/Makefile.am
index fc5f56d54fa..9435861cf97 100644
--- a/extras/geo-rep/Makefile.am
+++ b/extras/geo-rep/Makefile.am
@@ -1,2 +1,11 @@
+scriptsdir = $(datadir)/glusterfs/scripts
+scripts_DATA = gsync-upgrade.sh generate-gfid-file.sh get-gfid.sh \
+ slave-upgrade.sh
+
+scripts_PROGRAMS = gsync-sync-gfid
+gsync_sync_gfid_CFLAGS = $(GF_CFLAGS) -Wall -I$(top_srcdir)/libglusterfs/src
+gsync_sync_gfid_LDADD = $(GF_LIBS) $(top_builddir)/libglusterfs/src/libglusterfs.la
+gsync_sync_gfid_SOURCES = gsync-sync-gfid.c
+
EXTRA_DIST = gsync-sync-gfid.c gsync-upgrade.sh generate-gfid-file.sh \
get-gfid.sh slave-upgrade.sh