[Olsr-dev] [PATCH 02/20] arprefresh: add uninstall target

Ferry Huberts (spam-protected)
Mon Jul 25 17:37:55 CEST 2011


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index 1cadd04..a7f61bd 100644
--- a/Makefile
+++ b/Makefile
@@ -257,6 +257,9 @@ arprefresh:
 arprefresh_install:
 		$(MAKECMD) -C lib/arprefresh DESTDIR=$(DESTDIR) install
 
+arprefresh_uninstall:
+		$(MAKECMD) -C lib/arprefresh DESTDIR=$(DESTDIR) uninstall
+
 watchdog:
 		$(MAKECMD) -C lib/watchdog clean
 		$(MAKECMD) -C lib/watchdog
diff --git a/lib/arprefresh/Makefile b/lib/arprefresh/Makefile
index 55c071d..2aba076 100644
--- a/lib/arprefresh/Makefile
+++ b/lib/arprefresh/Makefile
@@ -53,5 +53,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