Index: Makefile =================================================================== --- Makefile (revision 133357) +++ Makefile (working copy) @@ -758,6 +758,13 @@ (cat contrib/asterisk-ng-doxygen; echo "HAVE_DOT=$(HAVEDOT)"; \ echo "PROJECT_NUMBER=$(ASTERISKVERSION)") | doxygen - +logrotate: + @if [ -d /etc/logrotate.d ]; then \ + ${INSTALL} -m 755 contrib/scripts/asterisk.logrotate $(DESTDIR)/etc/logrotate.d/asterisk; \ + else \ + echo "We could not install teh logrotate script for your operating system."; \ + fi + config: @if [ "${OSARCH}" = "linux-gnu" ]; then \ if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \