Support for creating pre-release documentation.

This commit is contained in:
Diomidis Spinellis 2005-12-26 22:03:22 +00:00
parent 620440e472
commit 0233e2630a
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,8 @@ README=README.txt
OTHERSRC=index.html build.xml Makefile
# Files to tag
ALLTAG=$(DOCLETSRC) $(TESTSRC) $(PICFILE) $(README) $(OTHERSRC)
# Documentation location (release)
export DOC=doc
JARFILE=lib/UmlGraph.jar

View File

@ -9,6 +9,7 @@ DESTDIR=/dds/pubs/web/home/sw/umlgraph
THREAD=/dds/pubs/courses/intro/thread.pl
GIF := $(shell sed -n 's/.*<img *src *= *"\([^.]*\.gif\)".*/\1/p' *.xml)
XML := $(wildcard *.xml)
DOC?=testdoc
.SUFFIXES:.java .dot .ps .gif .pic .eps .png
@ -41,7 +42,7 @@ XML := $(wildcard *.xml)
all: sequence.pic $(GIF) $(XML)
echo "Drawing UML Diagrams with UMLGraph" | perl $(THREAD) -n -h html -r -p ../index.html index ${DESTDIR}/doc
echo "Drawing UML Diagrams with UMLGraph" | perl $(THREAD) -n -h html -r -p ../index.html index ${DESTDIR}/${DOC}
sequence.pic: ../sequence.pic
perl -p -e 'BEGIN {binmode(STDOUT);} s/\r//' $< >$@