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/libeXosip2/libeXosip2.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'package/libeXosip2') diff --git a/package/libeXosip2/libeXosip2.mk b/package/libeXosip2/libeXosip2.mk index 9a69754de..7c0637a56 100644 --- a/package/libeXosip2/libeXosip2.mk +++ b/package/libeXosip2/libeXosip2.mk @@ -89,11 +89,9 @@ libeXosip2: uclibc $(TARGET_DIR)/usr/lib/libeXosip2.so libeXosip2-source: $(DL_DIR)/$(LIBEXOSIP2_SOURCE) libeXosip2-clean: - @if [ -d $(LIBEXOSIP2_DIR)/Makefile ]; then \ - $(MAKE) -C $(LIBEXOSIP2_DIR) clean; \ - fi - rm -f $(STAGING_DIR)/usr/lib/libeXosip2.* - rm -f $(TARGET_DIR)/usr/lib/libeXosip2.* + -$(MAKE) -C $(LIBEXOSIP2_DIR) clean + -rm -f $(STAGING_DIR)/usr/lib/libeXosip2.* + -rm -f $(TARGET_DIR)/usr/lib/libeXosip2.* libeXosip2-dirclean: -- cgit v1.2.3