[Olsr-dev] [PATCH 15/20] watchdog: add uninstall target

Ferry Huberts (spam-protected)
Mon Jul 25 17:38:08 CEST 2011


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 Makefile              |    3 +++
 lib/watchdog/Makefile |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 81bc573..9d3ade0 100644
--- 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
diff --git a/lib/watchdog/Makefile b/lib/watchdog/Makefile
index 97f2960..caece70 100644
--- a/lib/watchdog/Makefile
+++ b/lib/watchdog/Makefile
@@ -52,5 +52,8 @@ install:	$(PLUGIN_FULLNAME)
 		$(STRIP) $(PLUGIN_FULLNAME)
 		$(INSTALL_LIB)
 
+uninstall:
+		$(UNINSTALL_LIB)
+
 clean:
 		rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)
-- 
1.7.6





More information about the Olsr-dev mailing list