svn commit: trunk/buildroot/package/bridge-utils
Author: hamish
Date: 2008-09-03 19:39:23 -0700 (Wed, 03 Sep 2008) New Revision: 23318
Log:
Override the uninstall target rather than the clean target Also, don't actually create the .stamp_uninstalled but remove the .stamp_installed file instead (ala the overridden target).
Modified:
trunk/buildroot/package/bridge-utils/bridge.mk
Changeset:
Modified: trunk/buildroot/package/bridge-utils/bridge.mk
===================================================================
buildroot/package/bridge-utils/bridge.mk +4 -3
@@ -22,8 +22,9 @@ touch $@ # bridge has no uninstall target -$(BUILD_DIR)/bridge-$(BRIDGE_VERSION)/.stamp_cleaned: - $(call MESSAGE,"Cleaning up") +$(BUILD_DIR)/bridge-$(BRIDGE_VERSION)/.stamp_uninstalled: + $(call MESSAGE,"Uninstalling") rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \ include/libbridge.h man/man8/brctl.8 sbin/brctl) - touch $@ + rm -f $(@D)/.stamp_target_installed +