Added zip file in the distribution.

This commit is contained in:
Diomidis Spinellis 2004-06-05 20:05:15 +00:00
parent fdf2b8c041
commit 1fa2a6d47f
3 changed files with 19 additions and 7 deletions

View File

@ -3,8 +3,9 @@
#
.SUFFIXES:.class .java
VERSION=2.0
VERSION=2.4
TARBALL=UMLGraph-$(VERSION).tar.gz
ZIPBALL=UMLGraph-$(VERSION).zip
DISTDIR=UMLGraph-$(VERSION)
WEBDIR=/dds/pubs/web/home/sw/umlgraph
SRCFILE=UmlGraph.java sequence.pic README
@ -12,8 +13,10 @@ SRCFILE=UmlGraph.java sequence.pic README
.java.class:
javac -classpath d:/jdk/lib/tools.jar $<
all: UmlGraph.jar
$(TARBALL): UmlGraph.jar docs Makefile
cmd /c rd /s/q $(DISTDIR)
-cmd /c rd /s/q $(DISTDIR)
mkdir $(DISTDIR)
mkdir $(DISTDIR)/doc
cp $(WEBDIR)/doc/* $(DISTDIR)/doc
@ -23,6 +26,7 @@ $(TARBALL): UmlGraph.jar docs Makefile
perl -p -e 'BEGIN {binmode(STDOUT);} s/\r//' $$i >$(DISTDIR)/$$i;\
done
tar cvf - $(DISTDIR) | gzip -c >$(TARBALL)
zip -r $(ZIPBALL) $(DISTDIR)
docs:
(cd doc && make)
@ -35,5 +39,5 @@ UmlGraph.jar: UmlGraph.class
UmlGraph.class: UmlGraph.java
web: $(TARBALL)
cp $(TARBALL) $(WEBDIR)
cp $(TARBALL) $(ZIPBALL) $(WEBDIR)
sed "s/VERSION/$(VERSION)/g" index.html >$(WEBDIR)/index.html

View File

@ -105,8 +105,12 @@ UMLGraph is hereby made freely available as Open Source Software.
The current version of UMLGraph is VERSION.
You can download UMLGraph and its documentation from the following links:
<ul>
<li> <a href="UMLGraph-VERSION.tar.gz">UmlGraph package</a>
(.tar.gz file containing the source code, the compiled doclet,
<li> <a href="UMLGraph-VERSION.tar.gz">UmlGraph package - .tar.gz</a>
(compressed tar file containing the source code, the compiled doclet,
and the complete documentation in HTML format).
</li>
<li> <a href="UMLGraph-VERSION.zip">UmlGraph package - .zip</a>
(zip file containing the source code, the compiled doclet,
and the complete documentation in HTML format).
</li>
<li> <a href="doc/index.html">Documentation</a>

View File

@ -105,8 +105,12 @@ UMLGraph is hereby made freely available as Open Source Software.
The current version of UMLGraph is VERSION.
You can download UMLGraph and its documentation from the following links:
<ul>
<li> <a href="UMLGraph-VERSION.tar.gz">UmlGraph package</a>
(.tar.gz file containing the source code, the compiled doclet,
<li> <a href="UMLGraph-VERSION.tar.gz">UmlGraph package - .tar.gz</a>
(compressed tar file containing the source code, the compiled doclet,
and the complete documentation in HTML format).
</li>
<li> <a href="UMLGraph-VERSION.zip">UmlGraph package - .zip</a>
(zip file containing the source code, the compiled doclet,
and the complete documentation in HTML format).
</li>
<li> <a href="doc/index.html">Documentation</a>