summaryrefslogtreecommitdiffstats
path: root/systemd/Makefile.am
blob: e1545db54eb28d16a15bc21d3378050860e3ff87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DISTCLEANFILES = Makefile.in gluster-blockd.service gluster-block-target.service

CLEANFILES = *~ gluster-blockd.service gluster-block-target.service

EXTRA_DIST = gluster-blockd.service.in gluster-block-target.service.in   \
             gluster-blockd.sysconfig

if USE_SYSTEMD
# systemddir is already defined through configure.ac
systemd_DATA = gluster-blockd.service gluster-block-target.service
endif

install-data-local:
	$(MKDIR_P) $(DESTDIR)${sysconfigdir};              \
	$(INSTALL_DATA) gluster-blockd.sysconfig           \
		$(DESTDIR)${sysconfigdir}/gluster-blockd;

uninstall-local:
	rm -f $(DESTDIR)${sysconfigdir}/gluster-blockd