--- projects/cms/source/server/Makefile 2003/02/05 12:35:04 1.30 +++ projects/cms/source/server/Makefile 2003/02/05 22:27:24 1.32 @@ -1,5 +1,5 @@ # Makefile for server -# $Id: Makefile,v 1.30 2003/02/05 12:35:04 tdb Exp $ +# $Id: Makefile,v 1.32 2003/02/05 22:27:24 tdb Exp $ include Config.inc @@ -79,13 +79,6 @@ distclean : clean rm -Rf $(APICACHE) rm -f Config.inc -### Util Package - -.PHONY : buildutil -buildutil : clean - cd uk/org/iscream/cms/server/util && $(MAKE) all - cd $(BUILD) && $(MAKE) packageutil - ### Database .PHONY : createtable @@ -99,23 +92,27 @@ droptable : ### Install .PHONY : install -install : $(MCOMPILECHECK) +install : $(MCOMPILECHECK) $(JAVADOCCHECK) $(CHANGELOG) @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 " copying scripts to $(INSTALL)" - cp $(BUILD)/run.sh $(INSTALL) - cp $(BUILD)/run.bat $(INSTALL) - @echo "Completed install to $(INSTALL)" + @echo "Installing to $(INSTALLPREFIX)" + @echo " copying $(PACKAGE) to $(INSTALLPREFIX)" + @mkdir -p $(INSTALLPREFIX) + @cp $(BUILD)/$(PACKAGE) $(INSTALLPREFIX) + @echo " copying libs to $(INSTALLPREFIX)/lib" + @mkdir -p $(INSTALLPREFIX)/lib + @cp $(LIBDIR)/*.jar $(INSTALLPREFIX)/lib + @echo " copying etc to $(INSTALLPREFIX)/etc" + @mkdir -p $(INSTALLPREFIX)/etc + @cp $(BUILD)/etc/default.properties $(INSTALLPREFIX)/etc + @cp $(BUILD)/etc/*.conf $(INSTALLPREFIX)/etc + @echo " copying scripts to $(INSTALLPREFIX)" + @cp $(BUILD)/run.sh $(INSTALLPREFIX) + @cp $(BUILD)/run.bat $(INSTALLPREFIX) + @echo " copying documention to $(INSTALLPREFIX)/doc" + @cp -R $(BUILD)/doc $(INSTALLPREFIX) + @echo " copying text information files to $(INSTALLPREFIX" + @cp $(BUILD)/COPYING $(CHANGELOG) $(INSTALLPREFIX) + @echo "Completed install to $(INSTALLPREFIX)" @echo "-------------------------------------------------------" ### Other