[Olsr-dev] [PATCH 10/20] pgraph: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index b087b26..0064cb3 100644
--- a/Makefile
+++ b/Makefile
@@ -237,6 +237,9 @@ pgraph:
 pgraph_install:
 		$(MAKECMD) -C lib/pgraph DESTDIR=$(DESTDIR) install 
 
+pgraph_uninstall:
+		$(MAKECMD) -C lib/pgraph DESTDIR=$(DESTDIR) uninstall
+
 bmf:
 		$(MAKECMD) -C lib/bmf clean
 		$(MAKECMD) -C lib/bmf 
diff --git a/lib/pgraph/Makefile b/lib/pgraph/Makefile
index d136e99..31d7627 100644
--- a/lib/pgraph/Makefile
+++ b/lib/pgraph/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