meson.build (2550B)
1 # This file is in the public domain. 2 3 subdir('typst') 4 5 contrib_tmplpkgdata_DATA = [ 6 'kycaid-invalid-request.en.must', 7 'kyc-proof-already-done.en.must', 8 'kyc-proof-bad-request.en.must', 9 'kyc-proof-endpoint-unknown.en.must', 10 'kyc-proof-internal-error.en.must', 11 'kyc-proof-target-unknown.en.must', 12 'oauth2-authentication-failure.en.must', 13 'oauth2-authorization-failure.en.must', 14 'oauth2-authorization-failure-malformed.en.must', 15 'oauth2-bad-request.en.must', 16 'oauth2-conversion-failure.en.must', 17 'oauth2-provider-failure.en.must', 18 'persona-exchange-unauthorized.en.must', 19 'persona-load-failure.en.must', 20 'persona-exchange-unpaid.en.must', 21 'persona-logic-failure.en.must', 22 'persona-invalid-response.en.must', 23 'persona-network-timeout.en.must', 24 'persona-kyc-failed.en.must', 25 'persona-provider-failure.en.must', 26 ] 27 28 install_data( 29 sources: contrib_tmplpkgdata_DATA, 30 install_dir: get_option('datadir') / 'taler-exchange' / 'templates', 31 ) 32 33 34 contrib_terms_DATA = [ 35 'exchange-pp-v0.de.rst', 36 'exchange-pp-v0.en.rst', 37 'exchange-pp-v0.fr.rst', 38 'exchange-tos-bfh-v0.en.rst', 39 'exchange-tos-netzbon-v0.de.rst', 40 'exchange-tos-netzbon-v0.fr.rst', 41 'exchange-tos-tops-v0.de.rst', 42 'exchange-tos-tops-v0.en.rst', 43 'exchange-tos-tops-v0.fr.rst', 44 'exchange-tos-v0.en.rst', 45 ] 46 47 install_data( 48 sources: contrib_terms_DATA, 49 install_dir: get_option('datadir') / 'taler-exchange' / 'terms', 50 ) 51 52 contrib_bin_SCRIPTS = [ 53 'taler-auditor-dbconfig', 54 'taler-exchange-dbconfig', 55 'taler-terms-generator', 56 ] 57 58 foreach f : contrib_bin_SCRIPTS 59 configure_file( 60 input: f, 61 output: f, 62 configuration: cdata, 63 install: true, 64 install_dir: get_option('bindir'), 65 ) 66 endforeach 67 68 69 70 # These are for the various single-page-apps 71 # imported from the wallet-core.git 72 # prebuilt branch. These MUST be present, they will 73 # be used by code generated by 'bootstrap'! 74 75 dist_amlspapkgdata_DATA = [ 76 'aml-spa/index.html', 77 ] 78 install_data( 79 sources: dist_amlspapkgdata_DATA, 80 install_dir: get_option('datadir') / 'taler-exchange' / 'aml-spa', 81 ) 82 83 dist_kycspapkgdata_DATA = [ 84 'kyc-spa/index.html', 85 ] 86 install_data( 87 sources: dist_kycspapkgdata_DATA, 88 install_dir: get_option('datadir') / 'taler-exchange' / 'kyc-spa', 89 ) 90 91 dist_auditorspapkgdata_DATA = [ 92 'auditor-spa/index.html', 93 ] 94 install_data( 95 sources: dist_auditorspapkgdata_DATA, 96 install_dir: get_option('datadir') / 'taler-auditor' / 'spa', 97 ) 98 99