samrobb writes in Bug 233: only clean host sed if we built it

This commit is contained in:
Mike Frysinger 2005-09-08 00:39:33 +00:00
parent f39499bc64
commit 250245fa7e

View File

@ -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
#############################################################
#