--- projects/cms/source/server/Makefile 2001/01/16 01:11:38 1.12 +++ projects/cms/source/server/Makefile 2001/02/03 23:11:19 1.16 @@ -1,5 +1,5 @@ # Makefile for server -# $Id: Makefile,v 1.12 2001/01/16 01:11:38 tdb Exp $ +# $Id: Makefile,v 1.16 2001/02/03 23:11:19 tdb Exp $ include Config.inc @@ -11,10 +11,10 @@ genidl : buildidl : genidl cd idl && $(MAKE) build -code : buildidl +code : genidl cd uk/ac/ukc/iscream && $(MAKE) all -build : code +build : buildidl code cd build && $(MAKE) package run : build @@ -45,15 +45,20 @@ install : build 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 "-------------------------------------------------------" cvsbuild : cvs -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSSERVERMODULE) cd $(CVSBUILDTEMP) && ./configure + cd $(CVSBUILDTEMP) && $(MAKE) buildutil cd $(CVSBUILDTEMP) && $(MAKE) build cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT) cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT) + cp $(CVSBUILDTEMP)/build/$(UTILPACKAGE) $(BUILD) javadoc : genidl if test ! -d "$(DOCDIR)"; then mkdir $(DOCDIR); fi @@ -62,5 +67,9 @@ javadoc : genidl cp -R $(SERVERROOT)/idl/uk $(SERVERROOT)/$(DOCTMPDIR) javadoc -d $(SERVERROOT)/$(DOCDIR) -sourcepath $(SERVERROOT)/$(DOCTMPDIR) -classpath $(JCCLASSPATH) -author -version -private $(PKGLIST) rm -Rf doctemp + +buildutil : clean genidl + cd uk/ac/ukc/iscream/util && $(MAKE) all + cd build && $(MAKE) packageutil include $(MKINC)