diff options
Diffstat (limited to 'extras/init.d/Makefile.am')
-rw-r--r-- | extras/init.d/Makefile.am | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/extras/init.d/Makefile.am b/extras/init.d/Makefile.am index 73e9745cd..66849af87 100644 --- a/extras/init.d/Makefile.am +++ b/extras/init.d/Makefile.am @@ -1,12 +1,15 @@ -EXTRA_DIST = glusterfsd glusterfs-server glusterfs-server.plist +EXTRA_DIST = glusterfsd-Debian glusterfsd-Redhat glusterfsd-SuSE glusterfs-server.plist CLEANFILES = -initdir = $(sysconfdir)/init.d -init_DATA = glusterfsd +initdir = /etc/init.d -install-data-local: +$(GF_DISTRIBUTION): + $(mkdir_p) $(DESTDIR)$(initdir) + cp glusterfsd-$(GF_DISTRIBUTION) $(DESTDIR)$(initdir)/glusterfsd + +install-data-local: $(GF_DISTRIBUTION) if GF_DARWIN_HOST_OS cp glusterfs-server.plist /Library/LaunchDaemons/com.zresearch.glusterfs.plist endif |