[Olsr-dev] [PATCH 05/20] dyn_gw: add uninstall target
Ferry Huberts
(spam-protected)
Mon Jul 25 17:37:58 CEST 2011
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
Makefile | 3 +++
lib/dyn_gw/Makefile | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 04540b9..70f9f1a 100644
--- a/Makefile
+++ b/Makefile
@@ -204,6 +204,9 @@ dyn_gw:
dyn_gw_install:
$(MAKECMD) -C lib/dyn_gw DESTDIR=$(DESTDIR) install
+dyn_gw_uninstall:
+ $(MAKECMD) -C lib/dyn_gw DESTDIR=$(DESTDIR) uninstall
+
dyn_gw_plain:
$(MAKECMD) -C lib/dyn_gw_plain clean
$(MAKECMD) -C lib/dyn_gw_plain
diff --git a/lib/dyn_gw/Makefile b/lib/dyn_gw/Makefile
index 3baf443..f4e594f 100644
--- a/lib/dyn_gw/Makefile
+++ b/lib/dyn_gw/Makefile
@@ -54,5 +54,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