aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-24 04:52:37 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-24 04:52:37 +0000
commit0e16542a03e25cb205169cdeb7c6b354879be5cc (patch)
treec19b62bb65c3835435ffd8f23a3ba1aaf35afb0e /Makefile
parent4c55abaf20ad048363f8871fe6d30c39072c50e9 (diff)
Merged revisions 133391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r133391 | tilghman | 2008-07-23 23:51:42 -0500 (Wed, 23 Jul 2008) | 3 lines Optionally install logrotate file (Closes issue #13148) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@133392 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 06e957b7f..9526d491b 100644
--- a/Makefile
+++ b/Makefile
@@ -758,6 +758,12 @@ progdocs:
(cat contrib/asterisk-ng-doxygen; echo "HAVE_DOT=$(HAVEDOT)"; \
echo "PROJECT_NUMBER=$(ASTERISKVERSION)") | doxygen -
+install-logrotate:
+ if [ ! -d $(ASTETCDIR)/../logrotate.d ]; then \
+ mkdir $(ASTETCDIR)/../logrotate.d ; \
+ fi
+ install -m 0644 contrib/scripts/asterisk.logrotate $(ASTETCDIR)/../logrotate.d/asterisk
+
config:
@if [ "${OSARCH}" = "linux-gnu" ]; then \
if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \