[Olsr-dev] [PATCH 04/20] dot_draw: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index a82830e..04540b9 100644
--- a/Makefile
+++ b/Makefile
@@ -187,6 +187,9 @@ dot_draw:
 dot_draw_install:
 		$(MAKECMD) -C lib/dot_draw DESTDIR=$(DESTDIR) install
 
+dot_draw_uninstall:
+		$(MAKECMD) -C lib/dot_draw DESTDIR=$(DESTDIR) uninstall
+
 nameservice:
 		$(MAKECMD) -C lib/nameservice clean
 		$(MAKECMD) -C lib/nameservice
diff --git a/lib/dot_draw/Makefile b/lib/dot_draw/Makefile
index 103633b..060d73c 100644
--- a/lib/dot_draw/Makefile
+++ b/lib/dot_draw/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