1 |
tdb |
1.1 |
# Makefile for build |
2 |
tdb |
1.3 |
# $Id: Makefile,v 1.2 2001/02/26 22:50:58 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 |
tdb |
1.2 |
rm -Rf web/NS_Ref |
17 |
tdb |
1.1 |
|
18 |
|
|
package : $(PACKAGE) |
19 |
|
|
|
20 |
|
|
$(PACKAGE) : $(BUILDCHECK) |
21 |
tdb |
1.3 |
rm -Rf $(PACKAGE) |
22 |
tdb |
1.1 |
@echo "Main-Class: $(MAINCLASS)" > MANIFEST_TMP |
23 |
|
|
@echo "Class-Path: $(CLPATH)" >> MANIFEST_TMP |
24 |
|
|
jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) |
25 |
|
|
rm -f MANIFEST_TMP |
26 |
tdb |
1.2 |
tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` `ls -d web/* | grep -v CVS` run.sh |
27 |
tdb |
1.1 |
gzip -fv9 $(TARFILE) |
28 |
tdb |
1.2 |
zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` `ls -d web/* | grep -v CVS` run.bat |
29 |
tdb |
1.1 |
|
30 |
|
|
include $(MKINC) |