ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/Makefile
Revision: 1.8
Committed: Tue Feb 27 02:54:51 2001 UTC (23 years, 9 months ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Branch point for: SERVER_PIRCBOT
Changes since 1.7: +2 -1 lines
Log Message:
We believe the cause of our zip exception is not removing the old jar file.

File Contents

# Content
1 # Makefile for build
2 # $Id: Makefile,v 1.7 2001/01/19 00:16:34 tdb1 Exp $
3
4 include ../Config.inc
5
6 BUILDFILES = uk
7
8 all : package
9
10 clean :
11 rm -Rf $(BUILDFILES)
12 rm -Rf $(PACKAGE)
13 rm -Rf $(UTILPACKAGE)
14 rm -Rf $(ARCNAME)*$(TAREXT)
15 rm -Rf $(ARCNAME)*$(TARGZEXT)
16 rm -Rf $(ARCNAME)*$(ZIPEXT)
17
18 package : $(PACKAGE)
19
20 $(PACKAGE) : $(BUILDCHECK)
21 rm -Rf $(PACKAGE)
22 @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
23 @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
24 jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
25 rm -f MANIFEST_TMP
26 tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh
27 gzip -fv9 $(TARFILE)
28 zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat
29
30 packageutil : $(UTILPACKAGE)
31
32 $(UTILPACKAGE) : $(BUILDCHECK)
33 jar -cf $(UTILPACKAGE) $(BUILDFILES)
34
35 include $(MKINC)