meson.build (1075B)
1 # This file is in the public domain. 2 3 subdir('typst') 4 5 configure_file( 6 input: 'taler-merchant-dbconfig', 7 output: 'taler-merchant-dbconfig', 8 copy: true, 9 install: true, 10 install_dir: get_option('bindir'), 11 ) 12 13 terms_DATA = ['merchant-tos-tops-v0.en.rst', 'merchant-tos-demo-v0.en.rst'] 14 15 install_data( 16 sources: terms_DATA, 17 install_dir: get_option('datadir') / 'taler-merchant' / 'terms', 18 ) 19 20 21 dist_tmplpkgdata_DATA = [ 22 'offer_refund.en', 23 'request_payment.en', 24 'show_order_details.en', 25 ] 26 fs = import('fs') 27 28 foreach f : dist_tmplpkgdata_DATA 29 f_must = '@0@.must'.format(f) 30 fs.copyfile( 31 'wallet-core' / 'backend' / '@0@.html'.format(f), 32 f_must, 33 install: true, 34 install_dir: get_option('datadir') / 'taler-merchant' / 'templates', 35 ) 36 endforeach 37 install_data( 38 'kyc_text.en.must', 39 install_dir: get_option('datadir') / 'taler-merchant' / 'templates', 40 ) 41 42 install_subdir( 43 'wallet-core' / 'backoffice', 44 strip_directory: true, 45 install_dir: get_option('datadir') / 'taler-merchant' / 'spa', 46 )