--- projects/cms/source/server/Makefile 2000/12/12 20:15:14 1.6.2.7 +++ projects/cms/source/server/Makefile 2000/12/13 17:59:21 1.6.2.9 @@ -1,5 +1,5 @@ # Makefile for server -# $Id: Makefile,v 1.6.2.7 2000/12/12 20:15:14 tdb Exp $ +# $Id: Makefile,v 1.6.2.9 2000/12/13 17:59:21 tdb Exp $ include Config.inc @@ -25,7 +25,12 @@ clean : cd build && $(MAKE) clean cd uk/ac/ukc/iscream && $(MAKE) clean rm -Rf $(BUILDCHECK) $(IDLCHECK) + rm -Rf $(CVSBUILDTEMP) +distclean : clean + rm -f $(CLPATH) + rm -f Config.inc + install : build @echo "-------------------------------------------------------" @echo "Installing to $(INSTALL)" @@ -41,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)