[Olsr-dev] [PATCH 09/20] nameservice: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index c71305a..b087b26 100644
--- a/Makefile
+++ b/Makefile
@@ -200,6 +200,9 @@ nameservice:
 nameservice_install:
 		$(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) install
 
+nameservice_uninstall:
+		$(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) uninstall
+
 dyn_gw:
 		$(MAKECMD) -C lib/dyn_gw clean
 		$(MAKECMD) -C lib/dyn_gw
diff --git a/lib/nameservice/Makefile b/lib/nameservice/Makefile
index 90dd449..98cb670 100644
--- a/lib/nameservice/Makefile
+++ b/lib/nameservice/Makefile
@@ -65,6 +65,9 @@ install:	$(PLUGIN_FULLNAME)
 		$(STRIP) $(PLUGIN_FULLNAME)
 		$(INSTALL_LIB)
 
+uninstall:
+		$(UNINSTALL_LIB)
+
 clean:
 		rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)
 endif
-- 
1.7.6





More information about the Olsr-dev mailing list