summaryrefslogtreecommitdiffstats
path: root/extras/init.d/Makefile.am
blob: 66715f4314aaabf650b8fd20d6c37276ba4ea80f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

EXTRA_DIST = glusterd-Debian glusterd-Redhat glusterd-SuSE glusterd.plist

CLEANFILES = 

initdir = @initdir@
launchddir = @launchddir@

$(GF_DISTRIBUTION): 
	$(mkdir_p) $(DESTDIR)$(initdir)	
	$(INSTALL_PROGRAM) glusterd-$(GF_DISTRIBUTION) $(DESTDIR)$(initdir)/glusterd

install-exec-local: $(GF_DISTRIBUTION)

install-data-local: 
if GF_DARWIN_HOST_OS
	$(mkdir_p) $(DESTDIR)$(launchddir)
	$(INSTALL_PROGRAM) glusterd.plist $(DESTDIR)$(launchddir)/com.gluster.glusterd.plist
endif