summaryrefslogtreecommitdiff
path: root/package/speex
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
commitdfe689229df9afe9a3b7783b477ed82f9a521dbc (patch)
tree8df36ce9bed6d4b92051cad70481b1ee73404446 /package/speex
parent584e60c7972c6f720492c31f82715af9328eda06 (diff)
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/speex')
-rw-r--r--package/speex/speex.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/speex/speex.mk b/package/speex/speex.mk
index e659ef6d0..a6b66f5f8 100644
--- a/package/speex/speex.mk
+++ b/package/speex/speex.mk
@@ -82,16 +82,19 @@ $(TARGET_DIR)/usr/bin/speexenc: $(TARGET_DIR)/usr/bin/speexdec
$(TARGET_DIR)/usr/lib/libspeex.so: $(TARGET_DIR)/usr/bin/speexenc
cp -dpf $(STAGING_DIR)/usr/lib/libspeex.so* $(TARGET_DIR)/usr/lib
-speex-bins:
+speex-bins:
speex: uclibc libogg $(TARGET_DIR)/usr/lib/libspeex.so
speex-source: $(DL_DIR)/$(SPEEX_SOURCE)
speex-clean:
- @if [ -d $(SPEEX_DIR)/Makefile ]; then \
- $(MAKE) -C $(SPEEX_DIR) clean; \
- fi
+ -$(MAKE) -C $(SPEEX_DIR) clean
+ -rm -f $(STAGING_DIR)/usr/lib/libspeex.so*
+ rm -f $(STAGING_DIR)/usr/bin/speexenc $(STAGING_DIR)/usr/bin/speexdec
+ -rm -f $(TARGET_DIR)/usr/lib/libspeex.so*
+ rm -f $(TARGET_DIR)/usr/bin/speexenc $(TARGET_DIR)/usr/bin/speexdec
+
speex-dirclean:
rm -rf $(SPEEX_DIR)