summaryrefslogtreecommitdiff
path: root/package/asterisk/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-04-12 23:37:17 +0200
committerPhil Sutter <phil@nwl.cc>2010-06-20 16:17:30 +0200
commited46beee877b0f659fa83049ecb0e50885a41257 (patch)
tree618d4e578024ab5b84670733ae65a95e41329698 /package/asterisk/Makefile
parente1e56a0d326e753654a224e012d2d38142107cbc (diff)
asterisk-sounds: do not install useless files
Still leave that sounds.xml in there, as I'm not sure what it is for. And besides, with 5k of plain text size it shouldn't hurt too much if you already have space for the sounds package. :)
Diffstat (limited to 'package/asterisk/Makefile')
-rw-r--r--package/asterisk/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index c7ec0c0fa..a6b3ef4a6 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -192,8 +192,11 @@ asterisk-sounds-install:
${INSTALL_DIR} $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds
$(CP) $(WRKBUILD)/sounds/* \
$(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds/
- rm -f $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds/*.mp3
- rm -f $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds/vm-*
+ (cd $(IDIR_ASTERISK_SOUNDS)/usr/lib/asterisk/sounds; \
+ rm -f *.mp3 vm-*; \
+ rm -f CHANGES* CREDITS* LICENSE* *.txt ; \
+ rm -f *.tar.gz Makefile ; \
+ )
asterisk-voicemail-install:
${INSTALL_DIR} $(IDIR_ASTERISK_VOICEMAIL)/etc/asterisk