summaryrefslogtreecommitdiff
path: root/xslt/meson.build
blob: 259f6bf85b8be7e7fb09a4bb401e2a6234775af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
yelp_tools_xslt_data = ['mal-rng.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: pkgxsltdir
)

configure_file(
  input: 'mal-opf.xsl.in',
  output: 'mal-opf.xsl',
  configuration: yelp_xslt_in,
  install: true,
  install_dir: pkgxsltdir
)