12 |
|
clean : |
13 |
|
rm -Rf $(BUILDFILES) |
14 |
|
rm -f $(PACKAGE) |
15 |
– |
rm -f $(UTILPACKAGE) |
15 |
|
rm -f $(CHANGELOG) |
16 |
|
rm -Rf $(DISTDIR) |
17 |
< |
rm -f $(TARFILE) |
18 |
< |
rm -f $(TARGZFILE) |
19 |
< |
rm -f $(ZIPFILE) |
17 |
> |
rm -f $(TARFILE) $(TARGZFILE) $(ZIPFILE) |
18 |
> |
rm -f $(TARGZFILESIG) $(ZIPFILESIG) |
19 |
> |
rm -f $(BINTARFILE) $(BINTARGZFILE) $(BINZIPFILE) |
20 |
> |
rm -f $(BINTARGZFILESIG) $(BINZIPFILESIG) |
21 |
|
rm -Rf $(DOCDIR) $(SRCDIR) |
22 |
< |
rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) |
22 |
> |
rm -f $(MKDISTBINCHECK) $(MKDISTCHECK) $(MKDISTFILESCHECK) $(MKDISTFILESBINCHECK) |
23 |
|
|
24 |
|
.PHONY : package |
25 |
|
package : $(PACKAGE) |
31 |
|
jar -cmf MANIFEST_TMP $(PACKAGE) $(BUILDFILES) |
32 |
|
rm -f MANIFEST_TMP |
33 |
|
|
34 |
– |
.PHONY : packageutil |
35 |
– |
packageutil : $(UTILPACKAGE) |
36 |
– |
|
37 |
– |
$(UTILPACKAGE) : $(MCOMPILECHECK) |
38 |
– |
jar -cf $(UTILPACKAGE) $(BUILDFILES) |
39 |
– |
|
34 |
|
.PHONY : dist-bin |
35 |
< |
dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESCHECK) |
35 |
> |
dist-bin : $(MKDISTBINCHECK) $(MKDISTFILESBINCHECK) |
36 |
|
|
37 |
|
.PHONY : dist |
38 |
|
dist : $(MKDISTCHECK) $(MKDISTFILESCHECK) |
43 |
|
if test ! -d "$(DISTDIR)"; then mkdir -p $(DISTDIR); fi |
44 |
|
echo "CVS" > TAR_EXCLUDE_TMP |
45 |
|
echo ".#*" >> TAR_EXCLUDE_TMP |
46 |
< |
tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - ) |
46 |
> |
tar -cf - -X TAR_EXCLUDE_TMP $(PACKAGE) lib etc ChangeLog README run.sh run.bat COPYING | ( cd $(DISTDIR) && tar -xf - ) |
47 |
|
rm -f TAR_EXCLUDE_TMP |
48 |
|
@touch $(MKDISTBINCHECK) |
49 |
|
@rm -f $(MKDISTFILESCHECK) |
65 |
|
if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi |
66 |
|
tar -cvf $(DISTDEST)/$(TARFILE) $(DISTDIR) |
67 |
|
gzip -fv9 $(DISTDEST)/$(TARFILE) |
68 |
+ |
-$(GPG) $(GPGFLAGS) $(DISTDEST)/$(TARGZFILE) |
69 |
|
zip -r -9 $(DISTDEST)/$(ZIPFILE) $(DISTDIR)/* |
70 |
+ |
-$(GPG) $(GPGFLAGS) $(DISTDEST)/$(ZIPFILE) |
71 |
|
@touch $(MKDISTFILESCHECK) |
72 |
+ |
|
73 |
+ |
.PHONY : mk-distfiles-bin |
74 |
+ |
mk-distfiles-bin : $(MKDISTFILESBINCHECK) |
75 |
+ |
$(MKDISTFILESBINCHECK) : |
76 |
+ |
if test ! -d "$(DISTDEST)"; then mkdir -p $(DISTDEST); fi |
77 |
+ |
tar -cvf $(DISTDEST)/$(BINTARFILE) $(DISTDIR) |
78 |
+ |
gzip -fv9 $(DISTDEST)/$(BINTARFILE) |
79 |
+ |
-$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINTARGZFILE) |
80 |
+ |
zip -r -9 $(DISTDEST)/$(BINZIPFILE) $(DISTDIR)/* |
81 |
+ |
-$(GPG) $(GPGFLAGS) $(DISTDEST)/$(BINZIPFILE) |
82 |
+ |
@touch $(MKDISTFILESBINCHECK) |
83 |
|
|
84 |
|
include $(MKINC) |