--- projects/cms/source/server/build/Makefile 2000/12/11 20:22:51 1.1 +++ projects/cms/source/server/build/Makefile 2000/12/13 18:01:12 1.1.2.8 @@ -0,0 +1,28 @@ +# Makefile for build +# $Id: Makefile,v 1.1.2.8 2000/12/13 18:01:12 tdb Exp $ + +include ../Config.inc + +BUILDFILES = uk + +all : package + +clean : + rm -Rf $(BUILDFILES) + rm -Rf $(PACKAGE) + rm -Rf $(ARCNAME)*$(TAREXT) + rm -Rf $(ARCNAME)*$(TARGZEXT) + rm -Rf $(ARCNAME)*$(ZIPEXT) + +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) lib etc README + gzip -v9 $(TARFILE) + zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README + +include $(MKINC)