[Olsr-dev] [PATCH 07/20] httpinfo: add uninstall target

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/Makefile b/Makefile
index 799ca58..8312d40 100644
--- a/Makefile
+++ b/Makefile
@@ -173,6 +173,9 @@ httpinfo:
 httpinfo_install:
 		$(MAKECMD) -C lib/httpinfo DESTDIR=$(DESTDIR) install 
 
+httpinfo_uninstall:
+		$(MAKECMD) -C lib/httpinfo DESTDIR=$(DESTDIR) uninstall
+
 tas:
 		$(MAKECMD) -C lib/tas clean
 		$(MAKECMD) -C lib/tas
diff --git a/lib/httpinfo/Makefile b/lib/httpinfo/Makefile
index f6a2cf5..6c0ace3 100644
--- a/lib/httpinfo/Makefile
+++ b/lib/httpinfo/Makefile
@@ -61,5 +61,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