diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-22 11:34:48 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-22 11:34:48 +0000 |
commit | 73f6c4cab3d2bd514ab25a9fa998690cfdb26e29 (patch) | |
tree | 87c1962b7d2ceb73ed10b15cfad2ebe5a51d0e68 /package/asterisk/Makefile | |
parent | 71274c4f2bb2c121cfe6091f187ccab89557e6d5 (diff) |
fix rebuilding of asterisk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2229 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/asterisk/Makefile')
-rw-r--r-- | package/asterisk/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile index 8be4c11936..35b52ec7d6 100644 --- a/package/asterisk/Makefile +++ b/package/asterisk/Makefile @@ -10,6 +10,7 @@ PKG_MD5SUM:=0d7f1c680ae53a739f26a069ef8b580a PKG_SOURCE_URL:=http://ftp.digium.com/pub/asterisk/ ftp://ftp.digium.com/pub/asterisk/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/install PKG_CAT:=zcat include $(TOPDIR)/package/rules.mk @@ -62,12 +63,13 @@ $(PKG_BUILD_DIR)/.built: EXTRA_APPS="$(APPS)" \ EXTRA_MODS="$(MODS)" \ MODSPEEX="$(SPEEX)" + $(MAKE) -C $(PKG_BUILD_DIR) \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + install samples touch $@ $(IPKG_ASTERISK): - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(IDIR_ASTERISK)" \ - install samples + cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_ASTERISK) rm -rf $(IDIR_ASTERISK)/usr/sbin/astgenkey rm -rf $(IDIR_ASTERISK)/usr/bin rm -rf $(IDIR_ASTERISK)/usr/share |