PUD: further improve Makefile
authorFerry Huberts <f.huberts@mindef.nl>
Wed, 17 Aug 2011 11:30:35 +0000 (13:30 +0200)
committerFerry Huberts <f.huberts@mindef.nl>
Wed, 17 Aug 2011 11:30:35 +0000 (13:30 +0200)
strip the installed library, not the built library

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
lib/pud/Makefile

index b2de4cd..2ce0c94 100644 (file)
@@ -45,10 +45,10 @@ $(VERSION_FILE): Makefile scripts/makeVersionH
 .PHONY:        install uninstall clean dist distclean doc doc-clean
 
 install: $(PLUGIN_FULLNAME)
-       $(STRIP) "$(PLUGIN_FULLNAME)"
+       $(INSTALL_LIB)
+       $(STRIP) "$(LIBDIR)/$(PLUGIN_FULLNAME)"
        ln -sf "$(PLUGIN_FULLNAME)" "$(LIBDIR)/$(PLUGIN_NAME)"
        ln -sf "$(PLUGIN_FULLNAME)" "$(LIBDIR)/lib$(PLUGIN_NAME).so"
-       $(INSTALL_LIB)
 
 uninstall:
        rm -f "$(LIBDIR)/lib$(PLUGIN_NAME).so" "$(LIBDIR)/$(PLUGIN_NAME)"