aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2007-06-25 12:09:43 +0000
committerChristophe Romain <christophe.romain@process-one.net>2007-06-25 12:09:43 +0000
commit7ec8ce9e506f57315425482781df235c4580f153 (patch)
treed6d15e6df1bcf690c00395c95e67feb80e72afe8 /src
parent* doc/guide.tex: Documentation improvements on watchdog (diff)
apply patch from EJAB-261
SVN Revision: 793
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 4998c2cd9..051710c24 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -42,6 +42,7 @@ SODIR = $(PRIVDIR)/lib
MSGSDIR = $(PRIVDIR)/msgs
LOGDIR = $(DESTDIR)@prefix@/var/log/ejabberd
ETCDIR = $(DESTDIR)@prefix@/etc/ejabberd
+SBINDIR = $(DESTDIR)@prefix@/sbin
ifeq ($(shell uname),Darwin)
DYNAMIC_LIB_CFLAGS = -fPIC -bundle -flat_namespace -undefined suppress
@@ -91,7 +92,8 @@ install: all
install -d $(ETCDIR)
[ -f $(ETCDIR)/ejabberd.cfg ] && install -b -m 644 ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg-new || install -b -m 644 ejabberd.cfg.example $(ETCDIR)/ejabberd.cfg
sed -e "s*@rootdir@*@prefix@*" ejabberdctl.template > ejabberdctl.example
- install -m 755 ejabberdctl.example $(DESTDIR)@prefix@/usr/sbin/ejabberdctl
+ install -d $(SBINDIR)
+ install -m 755 ejabberdctl.example $(SBINDIR)/ejabberdctl
install -d $(LOGDIR)
clean: clean-recursive clean-local