summaryrefslogtreecommitdiff
path: root/package/libosip2
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/libosip2
parent584e60c7972c6f720492c31f82715af9328eda06 (diff)
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/libosip2')
-rw-r--r--package/libosip2/libosip2.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/package/libosip2/libosip2.mk b/package/libosip2/libosip2.mk
index c575755be..053ae78dd 100644
--- a/package/libosip2/libosip2.mk
+++ b/package/libosip2/libosip2.mk
@@ -67,12 +67,11 @@ libosip2: uclibc $(TARGET_DIR)/usr/lib/libosip2.so $(TARGET_DIR)/usr/lib/libosip
libosip2-source: $(DL_DIR)/$(LIBOSIP2_SOURCE)
libosip2-clean:
- @if [ -d $(LIBOSIP2_DIR)/Makefile ]; then \
- $(MAKE) -C $(LIBOSIP2_DIR) clean; \
- fi
- rm -f $(STAGING_DIR)/usr/lib/libosip2.*
- rm -f $(TARGET_DIR)/usr/lib/libosip2.*
-
+ -$(MAKE) -C $(LIBOSIP2_DIR) clean
+ -rm -f $(STAGING_DIR)/usr/lib/libosip2.*
+ -rm -f $(STAGING_DIR)/usr/lib/libosipparser2.*
+ -rm -f $(TARGET_DIR)/usr/lib/libosip2.*
+ -rm -f $(TARGET_DIR)/usr/lib/libosipparser2.*
libosip2-dirclean:
rm -rf $(LIBOSIP2_DIR)