From: Joshua Colp Date: Fri, 20 Oct 2006 19:03:03 +0000 (+0000) Subject: Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper locatio... X-Git-Tag: 1.4.0-beta4~302 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8deedb83fa0be614f097d8941fa6a5f265a784f1;p=thirdparty%2Fasterisk.git Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45775 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index b177aa7c84..d85a386f15 100644 --- a/Makefile +++ b/Makefile @@ -437,7 +437,7 @@ bininstall: _all $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ $(SUBDIRS_INSTALL): - @$(MAKE) -C $(@:-install=) install + @DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" $(MAKE) -C $(@:-install=) install NEWMODS=$(notdir $(wildcard */*.so)) OLDMODS=$(filter-out $(NEWMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so)))