ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/build/Makefile
Revision: 1.2
Committed: Tue May 29 22:30:58 2001 UTC (23 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.1: +4 -6 lines
Log Message:
Whilst all the packages are being changed around cms, it was time this little
beast of a program got shoved into one. It has all been placed under this java
package:

uk.org.iscream.cms.dbreporter.*

This has required a few changes to the Makefile setup, and a few moves of other
files to bring the structure into line with all the other i-scream central
monitoring system packages.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for build
2 tdb 1.2 # $Id: Makefile,v 1.1 2001/03/26 20:50:34 tdb1 Exp $
3 tdb 1.1
4     include ../Config.inc
5    
6 tdb 1.2 BUILDFILES = uk
7 tdb 1.1
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)
24     rm -f MANIFEST_TMP
25 tdb 1.2 tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` run.sh
26 tdb 1.1 gzip -fv9 $(TARFILE)
27 tdb 1.2 zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` run.bat
28 tdb 1.1
29     include $(MKINC)