summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarshavardhana <harsha@zresearch.com>2009-03-09 03:19:31 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-03-09 17:45:56 +0530
commitae378b63c0ae93d8077d250de6a035b92bac8697 (patch)
treeadb45131b712edb452b82787a07dad084f46ccc5
parentfdfdd7cf05b7378c879917acb9129d69a407aee9 (diff)
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>
-rw-r--r--ChangeLog2
-rw-r--r--extras/init.d/Makefile.am6
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 800cdf327..3b1c49301 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1 +1 @@
-ChangeLog is maintained by "tla changelog".
+ChangeLog is maintained by "git log".
diff --git a/extras/init.d/Makefile.am b/extras/init.d/Makefile.am
index 66849af87..da9bb0078 100644
--- a/extras/init.d/Makefile.am
+++ b/extras/init.d/Makefile.am
@@ -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