mirror of https://github.com/dspinellis/UMLGraph
Added zip file in the distribution.
This commit is contained in:
parent
fdf2b8c041
commit
1fa2a6d47f
10
Makefile
10
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue