ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build/Makefile
Revision: 1.1.2.7
Committed: Wed Dec 13 18:00:23 2000 UTC (23 years, 10 months ago) by tdb
Branch: SERVER_PACKAGEBUILD
Changes since 1.1.2.6: +4 -4 lines
Log Message:
Now remove all .tar, .tar.gz, and .zip files, rather than just those made by the
build locally (as "make cvsbuild" could create other files).

File Contents

# Content
1 # Makefile for build
2 # $Id: Makefile,v 1.1.2.6 2000/12/12 21:11:27 tdb1 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 *$(TAREXT)
14 rm -Rf *$(TARGZEXT)
15 rm -Rf *$(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 tar -cvf $(TARFILE) $(PACKAGE) lib etc README
25 gzip -v9 $(TARFILE)
26 zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README
27
28 include $(MKINC)