summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-01-12 03:15:34 +0000
committerMark Spencer <markster@digium.com>2004-01-12 03:15:34 +0000
commitb9bd0c6fe1248bad03265dd1cbb887ad80f6ae9a (patch)
treea74886d58aff3e96df8e14dfc1a935e7571a4e97 /Makefile
parent50fe0ee0b318385dafb2f11807bb8fc546b30948 (diff)
Move more scripts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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)