From 24a435a75140d0674a8190aef335a382e425cda0 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Fri, 18 May 2012 11:15:44 +0300 Subject: [PATCH] Create static-web rule --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index df8bdfe..e04f521 100644 --- a/Makefile +++ b/Makefile @@ -74,10 +74,15 @@ test: testupdate: sh tools/testupdate.sh +# Create only the static HTML pages +static-web: + (cd web && sh build.sh) + cp web/build/* $(WEBDIR) + web: $(BALL_TAR_GZ) CHECKSUM.MD5 cp $(BALL_TAR_GZ) $(ZIPBALL) CHECKSUM.MD5 $(WEBDIR) (cd web && sh build.sh) - cp web/build/*.* $(WEBDIR) + cp web/build/* $(WEBDIR) sed "s/VERSION/$(VERSION)/g" web/build/download.html >$(WEBDIR)/download.html cp $(JARFILE) $(WEBDIR)/jars/UmlGraph-$(VERSION).jar tar cf - javadoc | tar -C $(WEBDIR) -xvf -