--- projects/cms/source/server/Makefile 2000/12/12 12:36:04 1.6.2.6 +++ projects/cms/source/server/Makefile 2000/12/12 20:15:14 1.6.2.7 @@ -1,5 +1,5 @@ # Makefile for server -# $Id: Makefile,v 1.6.2.6 2000/12/12 12:36:04 tdb Exp $ +# $Id: Makefile,v 1.6.2.7 2000/12/12 20:15:14 tdb Exp $ include Config.inc @@ -25,5 +25,21 @@ clean : cd build && $(MAKE) clean cd uk/ac/ukc/iscream && $(MAKE) clean rm -Rf $(BUILDCHECK) $(IDLCHECK) + +install : build + @echo "-------------------------------------------------------" + @echo "Installing to $(INSTALL)" + @echo " copying $(PACKAGE) to $(INSTALL)" + mkdir -p $(INSTALL) + cp $(BUILD)/$(PACKAGE) $(INSTALL) + @echo " copying libs to $(INSTALL)/lib" + mkdir -p $(INSTALL)/lib + cp $(LIBDIR)/*.jar $(INSTALL)/lib + @echo " copying etc to $(INSTALL)/etc" + mkdir -p $(INSTALL)/etc + cp $(BUILD)/etc/default.properties $(INSTALL)/etc + cp $(BUILD)/etc/*.conf $(INSTALL)/etc + @echo "Completed install to $(INSTALL)" + @echo "-------------------------------------------------------" include $(MKINC)