ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/Makefile
Revision: 1.4
Committed: Tue Jan 16 01:36:22 2001 UTC (23 years, 11 months ago) by tdb
Branch: MAIN
Changes since 1.3: +7 -1 lines
Log Message:
Added building of the util JAR file.

File Contents

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