nameservice: add uninstall target
authorFerry Huberts <f.huberts@mindef.nl>
Mon, 25 Jul 2011 14:15:56 +0000 (16:15 +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/nameservice/Makefile

index c71305a..b087b26 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -200,6 +200,9 @@ nameservice:
 nameservice_install:
                $(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) install
 
+nameservice_uninstall:
+               $(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) uninstall
+
 dyn_gw:
                $(MAKECMD) -C lib/dyn_gw clean
                $(MAKECMD) -C lib/dyn_gw
index 90dd449..98cb670 100644 (file)
@@ -65,6 +65,9 @@ install:      $(PLUGIN_FULLNAME)
                $(STRIP) $(PLUGIN_FULLNAME)
                $(INSTALL_LIB)
 
+uninstall:
+               $(UNINSTALL_LIB)
+
 clean:
                rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)
 endif