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

CLEANFILES = *~ gluster-blockd.service

EXTRA_DIST = gluster-blockd.service.in gluster-blockd.sysconfig

if USE_SYSTEMD
# systemddir is already defined through configure.ac
systemd_DATA = gluster-blockd.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