summaryrefslogtreecommitdiff
path: root/package/libmad
diff options
context:
space:
mode:
Diffstat (limited to 'package/libmad')
-rw-r--r--package/libmad/libmad.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk
index 053b24381..9ea27fd4d 100644
--- a/package/libmad/libmad.mk
+++ b/package/libmad/libmad.mk
@@ -64,12 +64,10 @@ libmad-headers: $(TARGET_DIR)/usr/lib/libmad.a
libmad-source: $(DL_DIR)/$(LIBMAD_SOURCE)
libmad-clean:
- @if [ -d $(LIBMAD_DIR)/Makefile ]; then \
- $(MAKE) -C $(LIBMAD_DIR) clean; \
- fi
- rm -f $(STAGING_DIR)/usr/lib/libmad.*
+ -$(MAKE) -C $(LIBMAD_DIR) clean
+ -rm -f $(STAGING_DIR)/usr/lib/libmad.*
rm -f $(STAGING_DIR)/usr/include/mad.h
- rm -f $(TARGET_DIR)/usr/lib/libmad.*
+ -rm -f $(TARGET_DIR)/usr/lib/libmad.*
rm -f $(TARGET_DIR)/usr/include/mad.h