--- projects/cms/source/server/build/Makefile 2001/01/18 23:41:28 1.5 +++ projects/cms/source/server/build/Makefile 2001/01/19 00:16:34 1.7 @@ -1,5 +1,5 @@ # Makefile for build -# $Id: Makefile,v 1.5 2001/01/18 23:41:28 tdb Exp $ +# $Id: Makefile,v 1.7 2001/01/19 00:16:34 tdb Exp $ include ../Config.inc @@ -15,24 +15,20 @@ clean : rm -Rf $(ARCNAME)*$(TARGZEXT) rm -Rf $(ARCNAME)*$(ZIPEXT) -package : $(PACKAGE) maketar makezip +package : $(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 + tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh + gzip -fv9 $(TARFILE) + zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat 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 -R -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat include $(MKINC)