summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 00:39:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 00:39:33 +0000
commit250245fa7e83d180b5c83f5284ba6c9660805b94 (patch)
tree757f1c7497c39423299b88ab38eec84a40fdb47d /package
parentf39499bc64e977e7b4db8ff0619f0881e2ad4c8e (diff)
samrobb writes in Bug 233: only clean host sed if we built it
Diffstat (limited to 'package')
-rw-r--r--package/sed/sed.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/sed/sed.mk b/package/sed/sed.mk
index 6e3197396..024ecbba1 100644
--- a/package/sed/sed.mk
+++ b/package/sed/sed.mk
@@ -70,6 +70,7 @@ use-sed-host-binary:
host-sed: $(HOST_SED_TARGET)
+ifeq ($(HOST_SED_TARGET),build-sed-host-binary)
host-sed-clean:
$(MAKE) DESTDIR=$(HOST_SED_DIR) -C $(SED_DIR1) uninstall
-$(MAKE) -C $(SED_DIR1) clean
@@ -77,6 +78,10 @@ host-sed-clean:
host-sed-dirclean:
rm -rf $(SED_DIR1)
+else
+host-sed-clean host-sed-dirclean:
+
+endif
#############################################################
#