ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/Makefile
(Generate patch)

Comparing projects/cms/source/server/build/Makefile (file contents):
Revision 1.1.2.2 by tdb, Mon Dec 11 20:55:00 2000 UTC vs.
Revision 1.1.2.6 by tdb, Tue Dec 12 21:11:27 2000 UTC

# Line 1 | Line 1
1   # Makefile for build
2   # $Id$
3  
4 < PACKAGE = iscream.jar
5 < FILES = uk
4 > include ../Config.inc
5  
6 + BUILDFILES = uk
7 +
8   all : package
9  
10   clean :
11 <        rm -Rf uk
11 >        rm -Rf $(BUILDFILES)
12          rm -Rf $(PACKAGE)
13 +        rm -Rf $(TARFILE)
14 +        rm -Rf $(TARGZFILE)
15 +        rm -Rf $(ZIPFILE)
16  
17   package : $(PACKAGE)
18  
19 < $(PACKAGE) :
20 <        @echo "Main-Class: uk.ac.ukc.iscream.core.Core" > MANIFEST_TMP
21 <        @echo "Class-Path: ./lib/idl.jar ./lib/jacorb.jar ./lib/jaxp.jar ./lib/parser.jar" >> MANIFEST_TMP
22 <        jar -cvmf MANIFEST_TMP $(PACKAGE) $(FILES)
19 > $(PACKAGE) : $(BUILDCHECK)
20 >        @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
21 >        @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
22 >        jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
23          rm -f MANIFEST_TMP
24 <        @echo "-----------------------------"
25 <        @echo "to run: java -jar $(PACKAGE)"
26 <        @echo "-----------------------------"
24 >        tar -cvf $(TARFILE) $(PACKAGE) lib etc README
25 >        gzip -v9 $(TARFILE)
26 >        zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README
27 >
28 > include $(MKINC)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines