diff --git a/Makefile b/Makefile index 7b810a3f6dbf5e34ea34728cbea0d050278af7bf..27b4644060108bdb9e9e735b4969df0cd812e896 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 \