summaryrefslogtreecommitdiffstats
path: root/package/libmad/libmad.mk
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/libmad/libmad.mk
parent584e60c7972c6f720492c31f82715af9328eda06 (diff)
downloadbuildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.tar.gz
buildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.zip
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/libmad/libmad.mk')
-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