--- projects/cms/source/server/Makefile 2003/02/02 19:45:26 1.29 +++ projects/cms/source/server/Makefile 2003/02/05 22:15:32 1.31 @@ -1,5 +1,5 @@ # Makefile for server -# $Id: Makefile,v 1.29 2003/02/02 19:45:26 tdb Exp $ +# $Id: Makefile,v 1.31 2003/02/05 22:15:32 tdb Exp $ include Config.inc @@ -24,6 +24,7 @@ mksrc : echo "CVS" > TAR_EXCLUDE_TMP echo ".#*" >> TAR_EXCLUDE_TMP echo "*.jar" >> TAR_EXCLUDE_TMP + echo ".done*" >> TAR_EXCLUDE_TMP tar -cf - -X TAR_EXCLUDE_TMP $(SRCFILES) | ( cd $(SRCDIR) && tar -xf - ) rm -f TAR_EXCLUDE_TMP @touch $(SRCCHECK) @@ -98,23 +99,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