--- projects/cms/source/server/Makefile 2000/12/13 17:35:00 1.6.2.8 +++ projects/cms/source/server/Makefile 2000/12/14 19:54:29 1.10 @@ -1,5 +1,5 @@ # Makefile for server -# $Id: Makefile,v 1.6.2.8 2000/12/13 17:35:00 tdb Exp $ +# $Id: Makefile,v 1.10 2000/12/14 19:54:29 tdb Exp $ include Config.inc @@ -18,16 +18,17 @@ build : code cd build && $(MAKE) package run : build - cd build && java -jar iscream.jar + cd build && ./run.sh clean : cd idl && $(MAKE) clean cd build && $(MAKE) clean cd uk/ac/ukc/iscream && $(MAKE) clean rm -Rf $(BUILDCHECK) $(IDLCHECK) + rm -Rf $(CVSBUILDTEMP) distclean : clean - rm -f $(CLPATH) + cd $(BUILD) && rm -f $(CLPATH) rm -f Config.inc install : build @@ -45,5 +46,12 @@ install : build cp $(BUILD)/etc/*.conf $(INSTALL)/etc @echo "Completed install to $(INSTALL)" @echo "-------------------------------------------------------" + +cvsbuild : + cvs -d $(CVSROOT) export -r $(REVISION) -d $(CVSBUILDTEMP) $(CVSSERVERMODULE) + cd $(CVSBUILDTEMP) && ./configure + cd $(CVSBUILDTEMP) && $(MAKE) build + cp $(CVSBUILDTEMP)/build/$(TARGZFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(TARGZEXT) + cp $(CVSBUILDTEMP)/build/$(ZIPFILE) $(BUILD)/$(ARCNAME)-$(REVISION)$(ZIPEXT) include $(MKINC)