grim/guifications3
Clone
Summary
Browse
Changes
Graph
fix a documentation goof up
2009-12-27, Gary Kramlich
9a882cfb0ec1
fix a documentation goof up
TRANSFORM
=
xsltproc
TRANSFORM_OPTS
=
--nonet
--xinclude
OUTPUT
=
html/
OUTPUT_GRAPHS
=
$(
OUTPUT
)
/graphs
BOOK
=
xml/gf_spec.xml
SHEETS
=
\
sheets/common.xsl
\
sheets/digraph.xsl
\
sheets/gf_spec.xsl
BOOK_SOURCES
=
\
xml/about.xml
\
xml/abstract.xml
\
xml/gf_spec.xml
\
xml/communication.xml
DIGRAPHS
=
\
graphs/abstract_gf3_complex.digraph
\
graphs/abstract_growl.digraph
\
graphs/abstract_libnotify.digraph
\
graphs/communication_gf3_dbus_example.digraph
GRAPHS
=
$(
DIGRAPHS:%.digraph
=
%.png
)
###############################################################################
# Basic Rules
###############################################################################
all
:
xml
/
xml
.
stamp
$(
SHEETS
)
$(
BOOK_SOURCES
)
$(
GRAPHS
)
clean
:
rm
-rf
$(
OUTPUT
)
xml/xml.stamp
dir.stamp
graphs/graphs.stamp
###############################################################################
# Graph Rules
###############################################################################
.SUFFIXES
:
.
digraph
.
png
.
dot
.dot.png
:
dir
.
stamp
dot
-Tpng
-o
$(
OUTPUT
)
$@
$<
rm
-f
$<
.digraph.dot
:
$(
TRANSFORM
)
$(
TRANSFORM_OPTS
)
-o
$@
sheets/digraph.xsl
$<
$(GRAPHS)
:
dir
.
stamp
$(
DIGRAPHS
)
$(
SHEETS
)
dir.stamp
:
$(
OUTPUT_GRAPHS
)
touch
dir.stamp
$(OUTPUT_GRAPHS)
:
mkdir
-p
$(
OUTPUT_GRAPHS
)
###############################################################################
# Book Rules
###############################################################################
xml/xml.stamp
:
$(
BOOK_SOURCES
)
sheets
/
gf_spec
.
xsl
$(
TRANSFORM
)
$(
TRANSFORM_OPTS
)
-o
$(
OUTPUT
)
sheets/gf_spec.xsl
$(
BOOK
)
touch
xml/xml.stamp