10 |
|
clean : |
11 |
|
rm -Rf $(BUILDFILES) |
12 |
|
rm -Rf $(PACKAGE) |
13 |
< |
rm -Rf $(TARFILE) |
14 |
< |
rm -Rf $(TARGZFILE) |
15 |
< |
rm -Rf $(ZIPFILE) |
13 |
> |
rm -Rf $(ARCNAME)*$(TAREXT) |
14 |
> |
rm -Rf $(ARCNAME)*$(TARGZEXT) |
15 |
> |
rm -Rf $(ARCNAME)*$(ZIPEXT) |
16 |
|
|
17 |
|
package : $(PACKAGE) |
18 |
|
|
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 |
24 |
> |
tar -cvf $(TARFILE) $(PACKAGE) lib etc README |
25 |
|
gzip -v9 $(TARFILE) |
26 |
< |
zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* |
26 |
> |
zip -R -9 $(ZIPFILE) $(PACKAGE) lib/* etc/* README |
27 |
|
|
28 |
|
include $(MKINC) |