support a 'post install' script for local modifications after installation
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 30 Sep 2005 14:48:41 +0000 (14:48 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 30 Sep 2005 14:48:41 +0000 (14:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6700 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 9997077..06b72da 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -670,6 +670,9 @@ oldmodcheck:
        fi
 
 install: all datafiles bininstall
+       @if [ -x /usr/sbin/asterisk-post-install ]; then \
+               /usr/sbin/asterisk-post-install $(DESTDIR) . ; \
+       fi
 
 upgrade: all bininstall