meson.build (2586B)
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 'oauth2-state-invalid.en.must', 19 'persona-exchange-unauthorized.en.must', 20 'persona-load-failure.en.must', 21 'persona-exchange-unpaid.en.must', 22 'persona-logic-failure.en.must', 23 'persona-invalid-response.en.must', 24 'persona-network-timeout.en.must', 25 'persona-kyc-failed.en.must', 26 'persona-provider-failure.en.must', 27 ] 28 29 install_data( 30 sources: contrib_tmplpkgdata_DATA, 31 install_dir: get_option('datadir') / 'taler-exchange' / 'templates', 32 ) 33 34 35 contrib_terms_DATA = [ 36 'exchange-pp-v0.de.rst', 37 'exchange-pp-v0.en.rst', 38 'exchange-pp-v0.fr.rst', 39 'exchange-tos-bfh-v0.en.rst', 40 'exchange-tos-netzbon-v0.de.rst', 41 'exchange-tos-netzbon-v0.fr.rst', 42 'exchange-tos-tops-v0.de.rst', 43 'exchange-tos-tops-v0.en.rst', 44 'exchange-tos-tops-v0.fr.rst', 45 'exchange-tos-v0.en.rst', 46 ] 47 48 install_data( 49 sources: contrib_terms_DATA, 50 install_dir: get_option('datadir') / 'taler-exchange' / 'terms', 51 ) 52 53 contrib_bin_SCRIPTS = [ 54 'taler-auditor-dbconfig', 55 'taler-exchange-dbconfig', 56 'taler-terms-generator', 57 ] 58 59 foreach f : contrib_bin_SCRIPTS 60 configure_file( 61 input: f, 62 output: f, 63 configuration: cdata, 64 install: true, 65 install_dir: get_option('bindir'), 66 ) 67 endforeach 68 69 70 71 # These are for the various single-page-apps 72 # imported from the wallet-core.git 73 # prebuilt branch. These MUST be present, they will 74 # be used by code generated by 'bootstrap'! 75 76 dist_amlspapkgdata_DATA = [ 77 'aml-spa/index.html', 78 ] 79 install_data( 80 sources: dist_amlspapkgdata_DATA, 81 install_dir: get_option('datadir') / 'taler-exchange' / 'aml-spa', 82 ) 83 84 dist_kycspapkgdata_DATA = [ 85 'kyc-spa/index.html', 86 ] 87 install_data( 88 sources: dist_kycspapkgdata_DATA, 89 install_dir: get_option('datadir') / 'taler-exchange' / 'kyc-spa', 90 ) 91 92 dist_auditorspapkgdata_DATA = [ 93 'auditor-spa/index.html', 94 ] 95 install_data( 96 sources: dist_auditorspapkgdata_DATA, 97 install_dir: get_option('datadir') / 'taler-auditor' / 'spa', 98 ) 99 100