--- projects/cms/source/server/Makefile 2003/02/01 19:08:54 1.27 +++ projects/cms/source/server/Makefile 2003/02/05 22:15:32 1.31 @@ -1,5 +1,5 @@ # Makefile for server -# $Id: Makefile,v 1.27 2003/02/01 19:08:54 tdb Exp $ +# $Id: Makefile,v 1.31 2003/02/05 22:15:32 tdb Exp $ include Config.inc @@ -23,6 +23,8 @@ mksrc : if test ! -d "$(SRCDIR)"; then mkdir -p $(SRCDIR); fi 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) @@ -54,12 +56,10 @@ mkchangelog : ### Dist Making .PHONY : dist -#dist : $(MCOMPILECHECK) $(SRCCHECK) $(JAVADOCCHECK) $(CHANGELOG) dist : cd $(BUILD) && $(MAKE) dist dest=$(DISTDEST) .PHONY : dist-bin -#dist-bin : $(MCOMPILECHECK) $(CHANGELOG) dist-bin : cd $(BUILD) && $(MAKE) dist-bin dest=$(DISTDEST) @@ -99,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