X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a496658829c7377f1166e9efa82759e41f4e9b47..770185e2dc6a3e708711fbf2994a11c51829ed3f:/openwrt/package/asterisk/Makefile diff --git a/openwrt/package/asterisk/Makefile b/openwrt/package/asterisk/Makefile index 169e3915d..f42d6f847 100644 --- a/openwrt/package/asterisk/Makefile +++ b/openwrt/package/asterisk/Makefile @@ -167,6 +167,8 @@ $(PKG_SOUNDS): asterisk-compile $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_SOUNDS_DIR) control/$(PKG_NAME)-sounds.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) mkdir -p $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds cp -a $(PKG_BUILD_DIR)/sounds/* $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/ + rm -f $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/*.mp3 + rm -f $(PKG_SOUNDS_DIR)/usr/lib/asterisk/sounds/vm-* mkdir -p $(PACKAGE_DIR) $(IPKG_BUILD) $(PKG_SOUNDS_DIR) $(PACKAGE_DIR)