[Olsr-dev] [PATCH 17/20] p2pd: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index 5499e18..7dbc383 100644
--- a/Makefile
+++ b/Makefile
@@ -283,6 +283,9 @@ p2pd:
 p2pd_install:
 		$(MAKECMD) -C lib/p2pd DESTDIR=$(DESTDIR) install
 
+p2pd_uninstall:
+		$(MAKECMD) -C lib/p2pd DESTDIR=$(DESTDIR) uninstall
+
 txtinfo:
 		$(MAKECMD) -C lib/txtinfo clean
 		$(MAKECMD) -C lib/txtinfo 
diff --git a/lib/p2pd/Makefile b/lib/p2pd/Makefile
index e0157fb..3031502 100644
--- a/lib/p2pd/Makefile
+++ b/lib/p2pd/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