--- projects/cms/source/server/build/Makefile 2000/12/12 20:16:09 1.1.2.5 +++ projects/cms/source/server/build/Makefile 2001/01/16 01:36:22 1.4 @@ -1,5 +1,5 @@ # Makefile for build -# $Id: Makefile,v 1.1.2.5 2000/12/12 20:16:09 tdb Exp $ +# $Id: Makefile,v 1.4 2001/01/16 01:36:22 tdb Exp $ include ../Config.inc @@ -10,9 +10,10 @@ all : package clean : rm -Rf $(BUILDFILES) rm -Rf $(PACKAGE) - rm -Rf $(TARFILE) - rm -Rf $(TARGZFILE) - rm -Rf $(ZIPFILE) + rm -Rf $(UTILPACKAGE) + rm -Rf $(ARCNAME)*$(TAREXT) + rm -Rf $(ARCNAME)*$(TARGZEXT) + rm -Rf $(ARCNAME)*$(ZIPEXT) package : $(PACKAGE) @@ -21,8 +22,13 @@ $(PACKAGE) : $(BUILDCHECK) @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) rm -f MANIFEST_TMP - tar -cvf $(TARFILE) $(PACKAGE) lib etc - gzip -v9 $(TARFILE) - zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* + tar -cvf $(TARFILE) $(PACKAGE) lib etc README run.sh + gzip -fv9 $(TARFILE) + zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README run.bat + +packageutil : $(UTILPACKAGE) + +$(UTILPACKAGE) : $(BUILDCHECK) + jar -cf $(UTILPACKAGE) $(BUILDFILES) include $(MKINC)