aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-20 19:03:03 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-20 19:03:03 +0000
commitce51e3f0412f15608a9f18de6ce4f95092d4a56c (patch)
tree9f4688597eba2629fc5bc625ff2237cb63fb6735 /Makefile
parentfece727db33a3c3a901bf6dd5d31024fffc179a3 (diff)
Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45775 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b177aa7c8..d85a386f1 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)))