ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/build/Makefile
Revision: 1.3
Committed: Mon Feb 5 00:53:39 2001 UTC (23 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.2: +3 -3 lines
Log Message:
Add the etc directory to the tar.gz and zip files.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for build
2 tdb 1.3 # $Id: Makefile,v 1.2 2001/01/24 03:29:46 tdb1 Exp $
3 tdb 1.1
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     @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 tdb 1.3 tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` run.sh
25 tdb 1.1 gzip -fv9 $(TARFILE)
26 tdb 1.3 zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` run.bat
27 tdb 1.1
28     include $(MKINC)