Permalink
Browse files

Makefile: added uninstall rule

  • Loading branch information...
1 parent 2f8a9d9 commit a456aa922acc1430b9e45897aa3af24e803576f8 @andymcd andymcd committed Feb 6, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 Makefile
View
@@ -97,3 +97,11 @@ clean:
$(MAKE) -C $(LUA_HOME) clean
-include *.d
+
+uninstall:
+ -$(RM) $(INSTALL_ROOT)/bin/cmd-key-happy
+ -$(RM) $(INSTALL_ROOT)/bin/cmd-key-happy-restart
+ -launchctl stop $(LAUNCHD_LABEL)
+ -launchctl unload $(PLIST_FILE)
+ -$(RM) $(PLIST_FILE)
+ $(shell ps acx | grep -i cmd-key-happy | awk {'print $1'} | xargs -n1 kill)

0 comments on commit a456aa9

Please sign in to comment.