[Olsr-dev] [PATCH 03/20] bmf: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index a7f61bd..a82830e 100644
--- a/Makefile
+++ b/Makefile
@@ -229,6 +229,9 @@ bmf:
 bmf_install:
 		$(MAKECMD) -C lib/bmf DESTDIR=$(DESTDIR) install 
 
+bmf_uninstall:
+		$(MAKECMD) -C lib/bmf DESTDIR=$(DESTDIR) uninstall
+
 quagga:
 		$(MAKECMD) -C lib/quagga clean
 		$(MAKECMD) -C lib/quagga 
diff --git a/lib/bmf/Makefile b/lib/bmf/Makefile
index bf0795c..dbb149c 100644
--- a/lib/bmf/Makefile
+++ b/lib/bmf/Makefile
@@ -52,6 +52,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