diff options
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/meson.build | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/xslt/meson.build b/xslt/meson.build new file mode 100644 index 0000000..9615d42 --- /dev/null +++ b/xslt/meson.build @@ -0,0 +1,54 @@ +yelp_tools_xslt_data = [ + 'comments.xsl', + 'mal-epub.xsl', + 'mal-files.xsl', + 'mal-license.xsl', + 'mal-rng.xsl', + 'mal-status.xsl', + 'media.xsl', +] + +install_data( + yelp_tools_xslt_data, + install_dir: join_paths( + pkgxsltdir, + ) +) + +yelp_xslt_in = configuration_data() + +yelp_xslt_in.set('XSL_MAL_LINK', join_paths( + yelp_xslt_dir, + 'mallard', + 'common', + 'mal-link.xsl', + ) +) + +yelp_xslt_in.set('XSL_MAL_SORT', join_paths( + yelp_xslt_dir, + 'mallard', + 'common', + 'mal-sort.xsl', + ) +) + +configure_file( + input: 'mal-ncx.xsl.in', + output: 'mal-ncx.xsl', + configuration: yelp_xslt_in, + install: true, + install_dir: join_paths( + pkgxsltdir, + ) +) + +configure_file( + input: 'mal-opf.xsl.in', + output: 'mal-opf.xsl', + configuration: yelp_xslt_in, + install: true, + install_dir: join_paths( + pkgxsltdir, + ) +)
\ No newline at end of file |