summaryrefslogtreecommitdiff
path: root/package/bmon
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 23:16:30 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 19:26:50 +0200
commit166631bdfbd5bc063a88126c5b91227701b48745 (patch)
treeb8f36884aca5c3a1fb3c030a6f457406474e3aa4 /package/bmon
parent0de10bf4915ba1efe482486705adc36cfa52cfa8 (diff)
bmon: use correct way of overriding steps
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bmon')
-rw-r--r--package/bmon/bmon.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/bmon/bmon.mk b/package/bmon/bmon.mk
index 759b08416..5036185d7 100644
--- a/package/bmon/bmon.mk
+++ b/package/bmon/bmon.mk
@@ -10,9 +10,8 @@ BMON_SITE = http://distfiles.gentoo.org/distfiles
BMON_DEPENDENCIES = ncurses
BMON_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
-$(eval $(call AUTOTARGETS,package,bmon))
-
-$(BMON_TARGET_UNINSTALL):
- $(call MESSAGE,"Uninstalling")
+define BMON_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/bmon
- rm -f $(BMON_TARGET_INSTALL_TARGET) $(BMON_HOOK_POST_INSTALL)
+endef
+
+$(eval $(call AUTOTARGETS,package,bmon))