watchdog: add uninstall target
authorFerry Huberts <f.huberts@mindef.nl>
Mon, 25 Jul 2011 14:17:56 +0000 (16:17 +0200)
committerFerry Huberts <f.huberts@mindef.nl>
Thu, 11 Aug 2011 11:57:34 +0000 (13:57 +0200)
Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
Makefile
lib/watchdog/Makefile

index 81bc573..9d3ade0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -304,6 +304,9 @@ watchdog:
 watchdog_install:
                $(MAKECMD) -C lib/watchdog DESTDIR=$(DESTDIR) install
 
+watchdog_uninstall:
+               $(MAKECMD) -C lib/watchdog DESTDIR=$(DESTDIR) uninstall
+
 build_all:     all switch libs
 install_all:   install install_libs
 clean_all:     uberclean clean_libs
index 97f2960..caece70 100644 (file)
@@ -52,5 +52,8 @@ install:      $(PLUGIN_FULLNAME)
                $(STRIP) $(PLUGIN_FULLNAME)
                $(INSTALL_LIB)
 
+uninstall:
+               $(UNINSTALL_LIB)
+
 clean:
                rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)