diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-12-23 13:57:14 +0100 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-12-26 09:31:24 -0800 |
commit | 7ab8a1a3f4510a284b1686302624ec4252c95a6f (patch) | |
tree | 70537e0ec4e3889635baa05a39b60b590802ac57 /extras/hook-scripts/start | |
parent | 618f130ed0e653566db34878b36a2db34dcd6723 (diff) |
build: use 'make install' to install the hook scripts
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 <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/13072
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'extras/hook-scripts/start')
-rw-r--r-- | extras/hook-scripts/start/post/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/hook-scripts/start/post/Makefile.am b/extras/hook-scripts/start/post/Makefile.am index ad53233b1c9..03bb300c5c2 100644 --- a/extras/hook-scripts/start/post/Makefile.am +++ b/extras/hook-scripts/start/post/Makefile.am @@ -1 +1,4 @@ EXTRA_DIST = S29CTDBsetup.sh S30samba-start.sh S31ganesha-start.sh + +hookdir = $(GLUSTERD_WORKDIR)/hooks/1/start/post/ +hook_SCRIPTS = $(EXTRA_DIST) |