p2pd: add uninstall target
authorFerry Huberts <f.huberts@mindef.nl>
Mon, 25 Jul 2011 14:20:23 +0000 (16:20 +0200)
committerFerry Huberts <f.huberts@mindef.nl>
Thu, 11 Aug 2011 11:57:34 +0000 (13:57 +0200)
Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
Makefile
lib/p2pd/Makefile

index 5499e18..7dbc383 100644 (file)
--- 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 
index e0157fb..3031502 100644 (file)
@@ -27,6 +27,9 @@ install:      $(PLUGIN_FULLNAME)
                $(STRIP) $(PLUGIN_FULLNAME)
                $(INSTALL_LIB)
 
+uninstall:
+               $(UNINSTALL_LIB)
+
 clean:
                rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)