From 1fa2a6d47f909ac35c8700924745507d4f0d36ca Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Sat, 5 Jun 2004 20:05:15 +0000 Subject: [PATCH] Added zip file in the distribution. --- Makefile | 10 +++++++--- index.html | 8 ++++++-- web/index.html | 8 ++++++-- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 45695cb..f9ce773 100644 --- a/Makefile +++ b/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 diff --git a/index.html b/index.html index 3a25412..917f9f4 100644 --- a/index.html +++ b/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: