dect
/
asterisk
Archived
13
0
Fork 0

Optionally install logrotate file

(Closes issue #13148)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133391 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2008-07-24 04:51:42 +00:00
parent b2b90780f2
commit 58c99ecfe6
1 changed files with 6 additions and 0 deletions

View File

@ -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 \