aboutsummaryrefslogtreecommitdiff
path: root/package/boa
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-03-27 15:42:42 +0000
commitdfe689229df9afe9a3b7783b477ed82f9a521dbc (patch)
tree8df36ce9bed6d4b92051cad70481b1ee73404446 /package/boa
parent584e60c7972c6f720492c31f82715af9328eda06 (diff)
downloadbuildroot-dfe689229df9afe9a3b7783b477ed82f9a521dbc.tar.gz
buildroot-dfe689229df9afe9a3b7783b477ed82f9a521dbc.tar.bz2
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/boa')
-rw-r--r--package/boa/boa.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/boa/boa.mk b/package/boa/boa.mk
index a429cd2f5d..df4dd730dc 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)