diff --git a/Makefile b/Makefile index 28f57fb01c..6215198075 100644 --- a/Makefile +++ b/Makefile @@ -505,7 +505,7 @@ ifneq ($(findstring ~,$(DESTDIR)),) @exit 1 endif -install: badshell datafiles bininstall $(SUBDIRS_INSTALL) +install: badshell datafiles bininstall @if [ -x /usr/sbin/asterisk-post-install ]; then \ /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ fi