[Olsr-dev] [PATCH 14/20] txtinfo: add uninstall target
Ferry Huberts
(spam-protected)
Mon Jul 25 17:38:07 CEST 2011
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
Makefile | 3 +++
lib/txtinfo/Makefile | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index f0dfb28..81bc573 100644
--- a/Makefile
+++ b/Makefile
@@ -283,6 +283,9 @@ txtinfo:
txtinfo_install:
$(MAKECMD) -C lib/txtinfo DESTDIR=$(DESTDIR) install
+txtinfo_uninstall:
+ $(MAKECMD) -C lib/txtinfo DESTDIR=$(DESTDIR) uninstall
+
arprefresh:
$(MAKECMD) -C lib/arprefresh clean
$(MAKECMD) -C lib/arprefresh
diff --git a/lib/txtinfo/Makefile b/lib/txtinfo/Makefile
index b679723..feaa07c 100644
--- a/lib/txtinfo/Makefile
+++ b/lib/txtinfo/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