Skip to content
Snippets Groups Projects
Commit b733aa5b authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Optionally install logrotate file

(Closes issue #13148)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@133391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 1adecc56
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment