diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/publican/html/images/meson.build | 7 | ||||
| -rw-r--r-- | doc/publican/meson.build | 12 |
2 files changed, 14 insertions, 5 deletions
diff --git a/doc/publican/html/images/meson.build b/doc/publican/html/images/meson.build index 98e5b93..de4cc18 100644 --- a/doc/publican/html/images/meson.build +++ b/doc/publican/html/images/meson.build @@ -25,4 +25,11 @@ foreach src : files([ install: true, install_dir: publican_install_prefix + '/html/images', ) + + publican_image_maps += custom_target( + input + '.map', + command: [ dot, '-Tcmapx_np', '-o@OUTPUT@', '@INPUT@' ], + input: input, + output: fs.stem(src) + '.map', + ) endforeach diff --git a/doc/publican/meson.build b/doc/publican/meson.build index 83556f0..6493280 100644 --- a/doc/publican/meson.build +++ b/doc/publican/meson.build @@ -4,6 +4,7 @@ merge_mapcoords_xsl = files('xsl/merge-mapcoords.xsl') to_publican_xsl = files('xsl/doxygen-to-publican.xsl') publican_inputs = [] +publican_image_maps = [] foreach src : files([ 'Wayland.xml', # must be first in publican_inputs @@ -66,6 +67,9 @@ publican_inputs += custom_target( output: 'ServerAPI.xml' ) +subdir('html/css') +subdir('html/images') + foreach src : files([ 'Architecture.xml', 'Introduction.xml' @@ -76,18 +80,16 @@ foreach src : files([ command: [ xsltproc, '-o', '@OUTPUT@', - '--stringparam', 'basedir', '.', + '--stringparam', 'basedir', meson.current_build_dir() / 'html', merge_mapcoords_xsl, '@INPUT@', ], - input: [name], + input: src, output: [name], + depends: publican_image_maps, ) endforeach -subdir('html/css') -subdir('html/images') - custom_target( 'Wayland-docbook-html', command: [ |
