From 61c2aec3034714e513bcc3ad9ea61c2bb63b07fe Mon Sep 17 00:00:00 2001 From: vmallika Date: Fri, 29 Jan 2016 12:20:59 +0530 Subject: build: use 'make install' to install the hook scripts This is a backport of http://review.gluster.org/#/c/13072 The installation should be the same on all distributions, and doing manual installation of files in the .spec is very ugly. This change adds the rules so that 'make install' places the hook scripts in the right location. Also, the hook script(s) for NFS-Ganesha should be part of the glusterfs-ganesha sub-package and got moved there. > BUG: 1174765 > Change-Id: Iba25a7a5112c7d40db4c10ff4a5ac7a5fb4f7c4e > Signed-off-by: Niels de Vos > Reviewed-on: http://review.gluster.org/13072 > Tested-by: Gluster Build System > Reviewed-by: Kaleb KEITHLEY Change-Id: I8fade7e9e540eedc1e619f116d356a2b26f599a9 BUG: 1302955 Signed-off-by: vmallika Reviewed-on: http://review.gluster.org/13313 Smoke: Gluster Build System CentOS-regression: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Kaleb KEITHLEY --- extras/hook-scripts/reset/post/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extras/hook-scripts/reset') diff --git a/extras/hook-scripts/reset/post/Makefile.am b/extras/hook-scripts/reset/post/Makefile.am index fcdd8ab55ba..bb28d990596 100644 --- a/extras/hook-scripts/reset/post/Makefile.am +++ b/extras/hook-scripts/reset/post/Makefile.am @@ -1 +1,4 @@ EXTRA_DIST = S31ganesha-reset.sh + +hookdir = $(GLUSTERD_WORKDIR)/hooks/1/reset/post/ +hook_SCRIPTS = S31ganesha-reset.sh -- cgit