--- projects/cms/source/server/build/Makefile 2000/12/12 21:11:27 1.1.2.6 +++ projects/cms/source/server/build/Makefile 2002/05/18 18:16:00 1.9 @@ -1,5 +1,5 @@ # Makefile for build -# $Id: Makefile,v 1.1.2.6 2000/12/12 21:11:27 tdb Exp $ +# $Id: Makefile,v 1.9 2002/05/18 18:16:00 tdb Exp $ include ../Config.inc @@ -10,19 +10,26 @@ 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) $(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 - gzip -v9 $(TARFILE) - zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README + tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh COPYING + gzip -fv9 $(TARFILE) + zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat COPYING + +packageutil : $(UTILPACKAGE) + +$(UTILPACKAGE) : $(BUILDCHECK) + jar -cf $(UTILPACKAGE) $(BUILDFILES) include $(MKINC)