summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2014-10-31 16:50:53 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2014-10-31 16:50:53 +0000
commitbeb58e48c3b89435807baaf15436a8277e1db805 (patch)
tree3d4a9e0a5de2109849771043b35841f70fbb9f30 /Makefile
parentb3b93a7c1514119e334ad020cd7a775a42de31c0 (diff)
install init.d files on GNU/kFreeBSD
Review: https://reviewboard.asterisk.org/r/4118/ ........ Merged revisions 426926 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 426927 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 426933 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@426934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f058af919..66a8411eb 100644
--- a/Makefile
+++ b/Makefile
@@ -790,7 +790,7 @@ install-logrotate:
rm -f contrib/scripts/asterisk.logrotate.tmp
config:
- @if [ "${OSARCH}" = "linux-gnu" ]; then \
+ @if [ "${OSARCH}" = "linux-gnu" -o "${OSARCH}" = "kfreebsd-gnu" ]; then \
if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \
./build_tools/install_subst contrib/init.d/rc.redhat.asterisk "$(DESTDIR)/etc/rc.d/init.d/asterisk"; \
if [ ! -f "$(DESTDIR)/etc/sysconfig/asterisk" ] ; then \