Fixed build problems for init script installation.

Fixed build problem for init scripts (Reported by Krishna and Vikas).

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
Harshavardhana 2009-03-09 03:19:31 -07:00 committed by Anand V. Avati
parent fdfdd7cf05
commit ae378b63c0
2 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
ChangeLog is maintained by "tla changelog".
ChangeLog is maintained by "git log".

View File

@ -7,9 +7,11 @@ initdir = /etc/init.d
$(GF_DISTRIBUTION):
$(mkdir_p) $(DESTDIR)$(initdir)
cp glusterfsd-$(GF_DISTRIBUTION) $(DESTDIR)$(initdir)/glusterfsd
$(INSTALL_PROGRAM) $(srcdir)/glusterfsd-$(GF_DISTRIBUTION) $(DESTDIR)$(initdir)/glusterfsd
install-data-local: $(GF_DISTRIBUTION)
install-exec-local: $(GF_DISTRIBUTION)
install-data-local:
if GF_DARWIN_HOST_OS
cp glusterfs-server.plist /Library/LaunchDaemons/com.zresearch.glusterfs.plist
endif