Create static-web rule

This commit is contained in:
Diomidis Spinellis 2012-05-18 11:15:44 +03:00
parent 0fd6bc912a
commit 24a435a751
1 changed files with 6 additions and 1 deletions

View File

@ -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 -