TODO: tests: add test for bug #1283103 -- selinux mount vs security xattrs
[obnox/glusterfs.git] / extras / Makefile.am
1 addonexecdir = $(libexecdir)/glusterfs
2 addonexec_SCRIPTS = peer_add_secret_pub
3
4 EditorModedir = $(docdir)
5 EditorMode_DATA = glusterfs-mode.el glusterfs.vim
6
7 SUBDIRS = init.d systemd benchmarking hook-scripts $(OCF_SUBDIR) LinuxRPM \
8           $(GEOREP_EXTRAS_SUBDIR) ganesha snap_scheduler firewalld
9
10 confdir = $(sysconfdir)/glusterfs
11 conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf \
12         logger.conf.example glusterfs-georep-logrotate group-virt.example
13
14 voldir = $(sysconfdir)/glusterfs
15 vol_DATA = glusterd.vol
16 scriptsdir = $(datadir)/glusterfs/scripts
17 scripts_SCRIPTS = post-upgrade-script-for-quota.sh \
18         pre-upgrade-script-for-quota.sh stop-all-gluster-processes.sh
19
20 EXTRA_DIST = $(conf_DATA) specgen.scm glusterfs-mode.el glusterfs.vim \
21         migrate-unify-to-distribute.sh backend-xattr-sanitize.sh backend-cleanup.sh \
22         disk_usage_sync.sh clear_xattrs.sh glusterd-sysconfig glusterd.vol \
23         post-upgrade-script-for-quota.sh pre-upgrade-script-for-quota.sh \
24         command-completion/gluster.bash command-completion/Makefile \
25         command-completion/README stop-all-gluster-processes.sh
26
27 install-data-local:
28         if [ -n "$(tmpfilesdir)" ]; then \
29                 $(mkdir_p) $(DESTDIR)$(tmpfilesdir); \
30                 $(INSTALL_DATA) run-gluster.tmpfiles \
31                         $(DESTDIR)$(tmpfilesdir)/gluster.conf; \
32         fi
33         $(mkdir_p) $(DESTDIR)$(GLUSTERD_WORKDIR)/groups
34         $(INSTALL_DATA) $(top_srcdir)/extras/group-virt.example \
35                 $(DESTDIR)$(GLUSTERD_WORKDIR)/groups/virt