15 |
|
rm -Rf $(ARCNAME)*$(TARGZEXT) |
16 |
|
rm -Rf $(ARCNAME)*$(ZIPEXT) |
17 |
|
|
18 |
< |
package : $(PACKAGE) maketar makezip |
18 |
> |
package : $(PACKAGE) |
19 |
|
|
20 |
|
$(PACKAGE) : $(BUILDCHECK) |
21 |
+ |
rm -Rf $(PACKAGE) |
22 |
|
@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 |
+ |
tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh COPYING |
27 |
+ |
gzip -fv9 $(TARFILE) |
28 |
+ |
zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat COPYING |
29 |
|
|
30 |
|
packageutil : $(UTILPACKAGE) |
31 |
|
|
32 |
|
$(UTILPACKAGE) : $(BUILDCHECK) |
33 |
|
jar -cf $(UTILPACKAGE) $(BUILDFILES) |
30 |
– |
|
31 |
– |
maketar : |
32 |
– |
tar -cvf $(TARFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.sh |
33 |
– |
gzip -fv9 $(TARFILE) |
34 |
– |
|
35 |
– |
makezip : |
36 |
– |
zip -9 $(ZIPFILE) $(PACKAGE) `ls -d lib/* | grep -v CVS` `ls -d etc/* | grep -v CVS` README run.bat |
34 |
|
|
35 |
|
include $(MKINC) |