mirror of https://github.com/dspinellis/UMLGraph
Support for creating pre-release documentation.
This commit is contained in:
parent
620440e472
commit
0233e2630a
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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//' $< >$@
|
||||
|
|
|
|||
Loading…
Reference in New Issue