--- projects/cms/source/server/build/Makefile 2001/01/16 01:36:22 1.4 +++ projects/cms/source/server/build/Makefile 2001/02/27 02:54:51 1.8 @@ -1,5 +1,5 @@ # Makefile for build -# $Id: Makefile,v 1.4 2001/01/16 01:36:22 tdb Exp $ +# $Id: Makefile,v 1.8 2001/02/27 02:54:51 tdb Exp $ include ../Config.inc @@ -18,13 +18,14 @@ clean : package : $(PACKAGE) $(PACKAGE) : $(BUILDCHECK) + rm -Rf $(PACKAGE) @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) rm -f MANIFEST_TMP - tar -cvf $(TARFILE) $(PACKAGE) lib etc README run.sh + tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh gzip -fv9 $(TARFILE) - zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README run.bat + zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat packageutil : $(UTILPACKAGE)