[svn-commits] tilghman: trunk r133391 - /trunk/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 23 23:51:43 CDT 2008


Author: tilghman
Date: Wed Jul 23 23:51:42 2008
New Revision: 133391

URL: http://svn.digium.com/view/asterisk?view=rev&rev=133391
Log:
Optionally install logrotate file
(Closes issue #13148)

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=133391&r1=133390&r2=133391
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jul 23 23:51:42 2008
@@ -758,6 +758,12 @@
 	(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 \




More information about the svn-commits mailing list