[Olsr-dev] [PATCH 08/20] mdns: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index 8312d40..c71305a 100644
--- a/Makefile
+++ b/Makefile
@@ -258,6 +258,9 @@ mdns:
 mdns_install:
 		$(MAKECMD) -C lib/mdns DESTDIR=$(DESTDIR) install 
 
+mdns_uninstall:
+		$(MAKECMD) -C lib/mdns DESTDIR=$(DESTDIR) uninstall
+
 txtinfo:
 		$(MAKECMD) -C lib/txtinfo clean
 		$(MAKECMD) -C lib/txtinfo 
diff --git a/lib/mdns/Makefile b/lib/mdns/Makefile
index bee4372..0e69202 100644
--- a/lib/mdns/Makefile
+++ b/lib/mdns/Makefile
@@ -27,6 +27,9 @@ 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