[Olsr-dev] [PATCH 06/20] dyn_gw_plain: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index 70f9f1a..799ca58 100644
--- a/Makefile
+++ b/Makefile
@@ -214,6 +214,9 @@ dyn_gw_plain:
 dyn_gw_plain_install:
 		$(MAKECMD) -C lib/dyn_gw_plain DESTDIR=$(DESTDIR) install
 
+dyn_gw_plain_uninstall:
+		$(MAKECMD) -C lib/dyn_gw_plain DESTDIR=$(DESTDIR) uninstall
+
 secure:
 		$(MAKECMD) -C lib/secure clean
 		$(MAKECMD) -C lib/secure
diff --git a/lib/dyn_gw_plain/Makefile b/lib/dyn_gw_plain/Makefile
index 2629e2d..c58c175 100644
--- a/lib/dyn_gw_plain/Makefile
+++ b/lib/dyn_gw_plain/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