From fdc82748a1d1f063e3c11c840e6ec54ddf0fe0e1 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 15 Jan 2014 14:22:44 +0100 Subject: 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 Reviewed-on: http://review.gluster.org/6717 Reviewed-by: Harshavardhana Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- extras/Makefile.am | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'extras') diff --git a/extras/Makefile.am b/extras/Makefile.am index 2633e20a5..faa91cddf 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 -- cgit