summaryrefslogtreecommitdiffstats
path: root/systemd/Makefile.am
blob: bbec9d46f6c7f53f9da8c50d431253345f07bb10 (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

CLEANFILES = *~ gluster-blockd.service

EXTRA_DIST = gluster-blockd.service.in gluster-block-target.service   \
             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