mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@133392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
6
Makefile
6
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 \
|
||||
|
||||
Reference in New Issue
Block a user