ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/build/Makefile
Revision: 1.7
Committed: Fri Jan 31 17:05:50 2003 UTC (21 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.6: +4 -4 lines
Log Message:
The images (from the resources directory) are now inside the JAR file.
Thanks Pete for pointing out how to do this ;)

File Contents

# Content
1 # Makefile for build
2 # $Id: Makefile,v 1.6 2002/05/18 18:15:56 tdb 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 $(ARCNAME)*$(TAREXT)
14 rm -Rf $(ARCNAME)*$(TARGZEXT)
15 rm -Rf $(ARCNAME)*$(ZIPEXT)
16
17 package : $(PACKAGE)
18
19 $(PACKAGE) : $(BUILDCHECK)
20 rm -Rf $(PACKAGE)
21 @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
22 @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
23 jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) `ls -d resources/* | grep -v CVS`
24 rm -f MANIFEST_TMP
25 tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` run.sh COPYING
26 gzip -fv9 $(TARFILE)
27 zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` run.bat COPYING
28
29 include $(MKINC)