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/boa/boa.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'package/boa') diff --git a/package/boa/boa.mk b/package/boa/boa.mk index a429cd2f5..df4dd730d 100644 --- a/package/boa/boa.mk +++ b/package/boa/boa.mk @@ -68,9 +68,10 @@ boa: uclibc $(BOA_WORKDIR)/.installed boa-source: $(DL_DIR)/$(BOA_SOURCE) boa-clean: - @if [ -d $(BOA_WORKDIR)/Makefile ]; then \ - $(MAKE) -C $(BOA_WORKDIR) clean; \ - fi + -$(MAKE) -C $(BOA_WORKDIR) clean + rm -rf $(TARGET_DIR)/usr/sbin/boa \ + $(TARGET_DIR)/usr/lib/boa/boa_indexer \ + $(TARGET_DIR)/etc/mime.types $(TARGET_DIR)/etc/boa boa-dirclean: rm -rf $(BOA_DIR) $(BOA_WORKDIR) -- cgit v1.2.3