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

EXTRA_DIST = glusterfsd-Debian glusterfsd-Redhat glusterfsd-SuSE glusterfs-server.plist

CLEANFILES = 

initdir = /etc/init.d

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

install-exec-local: $(GF_DISTRIBUTION)

install-data-local: 
if GF_DARWIN_HOST_OS
	cp glusterfs-server.plist /Library/LaunchDaemons/com.gluster.glusterfs.plist 
endif