aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-12 03:15:34 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-12 03:15:34 +0000
commit4b8ae64d89340b79b794a7fc637d54280b8848e8 (patch)
treea74886d58aff3e96df8e14dfc1a935e7571a4e97 /Makefile
parent6693b33ccf2aaeb89d606dff2685d364055d024f (diff)
Move more scripts
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1966 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a49fb5e85..6ba98dc8b 100755
--- a/Makefile
+++ b/Makefile
@@ -299,8 +299,10 @@ bininstall: all
mkdir -p $(DESTDIR)$(ASTVARRUNDIR)
mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
install -m 755 asterisk $(DESTDIR)$(ASTSBINDIR)/
- install -m 755 astgenkey $(DESTDIR)$(ASTSBINDIR)/
- install -m 755 safe_asterisk $(DESTDIR)$(ASTSBINDIR)/
+ install -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
+ if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then
+ install -m 755 contrib/scripts/safe_asterisk $(DESTDIR)$(ASTSBINDIR)/
+ fi
for x in $(SUBDIRS); do $(MAKE) -C $$x install || exit 1 ; done
install -d $(DESTDIR)$(ASTHEADERDIR)
install include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)