summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2014-01-15 14:22:44 +0100
committerVijay Bellur <vbellur@redhat.com>2014-01-21 06:48:35 -0800
commitfdc82748a1d1f063e3c11c840e6ec54ddf0fe0e1 (patch)
treed60c2ea520693cc3e791dcfa6f08588bd3404014 /extras
parent17c4fb2d04f84b5632983866e8bddfbd7d77a054 (diff)
build: Install /var/lib/glusterd/groups/virt by default
/var/lib/glusterd/groups/virt is not installed by default, but that should be the case. It is provided as extras/groups-virt.example. "make install" should correctly install this file, and the rpm packages should include it. Change-Id: I5284306cfc2882e3147bd72f496ad29db906fcb2 BUG: 1053854 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/6717 Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/Makefile.am17
1 files changed, 10 insertions, 7 deletions
diff --git a/extras/Makefile.am b/extras/Makefile.am
index 2633e20..faa91cd 100644
--- a/extras/Makefile.am
+++ b/extras/Makefile.am
@@ -5,14 +5,17 @@ SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM geo-re
confdir = $(sysconfdir)/glusterfs
conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf \
- logger.conf.example glusterfs-georep-logrotate
+ logger.conf.example glusterfs-georep-logrotate group-virt.example
voldir = $(sysconfdir)/glusterfs
vol_DATA = glusterd.vol
-EXTRA_DIST = specgen.scm MacOSX/Portfile glusterfs-mode.el glusterfs.vim \
- migrate-unify-to-distribute.sh backend-xattr-sanitize.sh \
- backend-cleanup.sh disk_usage_sync.sh glusterfs-logrotate \
- clear_xattrs.sh group-virt.example glusterd-sysconfig \
- gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf \
- logger.conf.example glusterd.vol glusterfs-georep-logrotate
+EXTRA_DIST = $(conf_DATA) specgen.scm MacOSX/Portfile glusterfs-mode.el \
+ glusterfs.vim migrate-unify-to-distribute.sh backend-xattr-sanitize.sh \
+ backend-cleanup.sh disk_usage_sync.sh clear_xattrs.sh \
+ glusterd-sysconfig glusterd.vol
+
+install-data-local:
+ $(mkdir_p) $(DESTDIR)$(localstatedir)/lib/glusterd/groups
+ $(INSTALL_DATA) $(top_srcdir)/extras/group-virt.example \
+ $(DESTDIR)$(localstatedir)/lib/glusterd/groups/virt