From dfe689229df9afe9a3b7783b477ed82f9a521dbc Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 27 Mar 2008 15:42:42 +0000 Subject: buildroot: cleanup -clean targets. Based on input from Arndt Kritzner & Bernhard Fischer. --- package/libmad/libmad.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'package/libmad') 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 -- cgit v1.2.3