diff options
| author | Jon Cruz <jonc@osg.samsung.com> | 2015-01-28 17:24:05 -0800 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-01-28 17:43:18 -0800 |
| commit | 8cf9a367c98756d4bdacc987573e23f13faf28e6 (patch) | |
| tree | 3db4f91d803e214e6d9eb2a45cc8cd7148d40c79 /doc/doxygen | |
| parent | doc: Switch from static image files to generated diagrams. (diff) | |
| download | wayland-8cf9a367c98756d4bdacc987573e23f13faf28e6.tar wayland-8cf9a367c98756d4bdacc987573e23f13faf28e6.tar.gz wayland-8cf9a367c98756d4bdacc987573e23f13faf28e6.tar.bz2 wayland-8cf9a367c98756d4bdacc987573e23f13faf28e6.tar.lz wayland-8cf9a367c98756d4bdacc987573e23f13faf28e6.tar.xz wayland-8cf9a367c98756d4bdacc987573e23f13faf28e6.tar.zst wayland-8cf9a367c98756d4bdacc987573e23f13faf28e6.zip | |
doc: Create hot-linked areas in documents.
Added xslt processing to give DocBook output diagram image maps/hot-linked
areas consistent with those automatically generated by Doxygen.
Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Diffstat (limited to 'doc/doxygen')
| -rw-r--r-- | doc/doxygen/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am index ea206b9..283e077 100644 --- a/doc/doxygen/Makefile.am +++ b/doc/doxygen/Makefile.am @@ -1,5 +1,5 @@ -.SUFFIXES = .gv .png +.SUFFIXES = .gv .png .map noinst_DATA = xml/Client/index.xml xml/Server/index.xml dist_noinst_DATA = wayland.doxygen.in @@ -27,6 +27,7 @@ scanned_src_files_man = \ diagramsdir := dot diagramssrc := $(wildcard $(diagramsdir)/*.gv) diagrams := $(patsubst $(diagramsdir)/%,xml/%,$(diagramssrc:.gv=.png)) +diagram_maps := $(patsubst $(diagramsdir)/%,xml/%,$(diagramssrc:.gv=.map)) # find all man/man3/wl_foo.3 pages # for this to work, we need to create them before the man target (hence @@ -38,7 +39,9 @@ alldirs := xml xml/Client xml/Server man/man3 $(diagrams): $(diagramssrc) -xml/%/index.xml: $(scanned_src_files_%) wayland.doxygen $(diagrams) | xml/% +$(diagram_maps): $(diagramssrc) + +xml/%/index.xml: $(scanned_src_files_%) wayland.doxygen $(diagrams) $(diagram_maps) | xml/% $(AM_V_GEN)(cat wayland.doxygen; \ echo "GENERATE_XML=YES"; \ echo "XML_OUTPUT=xml/$*"; \ @@ -56,6 +59,9 @@ man/man3/wl_display.3: $(scanned_src_files_man) wayland.doxygen | man/man3 xml/%.png: $(diagramsdir)/%.gv | xml $(AM_V_GEN)$(DOT) -Tpng -o$@ $< +xml/%.map: $(diagramsdir)/%.gv | xml + $(AM_V_GEN)$(DOT) -Tcmapx_np -o$@ $< + # general rule to create one of the listed directories. $(alldirs): $(AM_V_GEN)$(MKDIR_P) $@ |
