--- projects/cms/source/server/build/Makefile 2000/12/11 23:44:31 1.1.2.3 +++ projects/cms/source/server/build/Makefile 2001/01/18 23:47:47 1.6 @@ -1,5 +1,5 @@ # Makefile for build -# $Id: Makefile,v 1.1.2.3 2000/12/11 23:44:31 tdb Exp $ +# $Id: Makefile,v 1.6 2001/01/18 23:47:47 tdb Exp $ include ../Config.inc @@ -10,14 +10,29 @@ all : package clean : rm -Rf $(BUILDFILES) rm -Rf $(PACKAGE) + rm -Rf $(UTILPACKAGE) + rm -Rf $(ARCNAME)*$(TAREXT) + rm -Rf $(ARCNAME)*$(TARGZEXT) + rm -Rf $(ARCNAME)*$(ZIPEXT) -package : $(PACKAGE) +package : $(PACKAGE) maketar makezip -$(PACKAGE) : +$(PACKAGE) : $(BUILDCHECK) @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) rm -f MANIFEST_TMP - @touch $(BUILDCHECK) + +packageutil : $(UTILPACKAGE) + +$(UTILPACKAGE) : $(BUILDCHECK) + jar -cf $(UTILPACKAGE) $(BUILDFILES) + +maketar : + tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh + gzip -fv9 $(TARFILE) + +makezip : + zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat include $(MKINC)