ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/build/Makefile
Revision: 1.1
Committed: Mon Mar 26 20:50:34 2001 UTC (23 years, 8 months ago) by tdb
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Log Message:
Part of the new Makefile structure.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for build
2     # $Id: Makefile,v 1.8 2001/02/27 02:54:51 tdb1 Exp $
3    
4     include ../Config.inc
5    
6     BUILDFILES = *.class
7     OTHERFILES = DBReporter.properties reportlist.conf
8    
9     all : package
10    
11     clean :
12     rm -Rf $(BUILDFILES)
13     rm -Rf $(OTHERFILES)
14     rm -Rf $(PACKAGE)
15     rm -Rf $(ARCNAME)*$(TAREXT)
16     rm -Rf $(ARCNAME)*$(TARGZEXT)
17     rm -Rf $(ARCNAME)*$(ZIPEXT)
18    
19     package : $(PACKAGE)
20    
21     $(PACKAGE) : $(BUILDCHECK)
22     rm -Rf $(PACKAGE)
23     @echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP
24     @echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP
25     jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES)
26     rm -f MANIFEST_TMP
27     tar -cvf $(TARFILE) $(PACKAGE) $(OTHERFILES) `ls -d lib/* | grep -v CVS` run.sh
28     gzip -fv9 $(TARFILE)
29     zip -9 $(ZIPFILE) $(PACKAGE) $(OTHERFILES) `ls -d lib/* | grep -v CVS` run.bat
30    
31     include $(MKINC)