diff options
author | Martin Blanchard <martin.blanchard@codethink.co.uk> | 2018-03-13 09:27:14 +0000 |
---|---|---|
committer | Martin Blanchard <tchaik@gmx.com> | 2018-09-03 22:43:15 +0100 |
commit | 36cac1db2806a6f50baaec01469f710061b42910 (patch) | |
tree | 46d0264e5a49697ad4d25ba479383d295aa41b5d /xslt | |
parent | 54a1bd6142d367b18a36d1ba96705840042747be (diff) | |
download | yelp-tools-36cac1db2806a6f50baaec01469f710061b42910.tar.gz |
build: Port to meson build system
The meson is a build system focused on speed an ease of use,
which helps speeding up the software development.
https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
https://gitlab.gnome.org/GNOME/yelp-tools/issues/17
https://bugzilla.gnome.org/show_bug.cgi?id=794279
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 |