meson.build (2670B)
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-tops-v1.de.rst', 46 'exchange-tos-tops-v1.en.rst', 47 'exchange-tos-tops-v1.fr.rst', 48 'exchange-tos-v0.en.rst', 49 ] 50 51 install_data( 52 sources: contrib_terms_DATA, 53 install_dir: get_option('datadir') / 'taler-exchange' / 'terms', 54 ) 55 56 contrib_bin_SCRIPTS = [ 57 'taler-auditor-dbconfig', 58 'taler-exchange-dbconfig', 59 'taler-terms-generator', 60 ] 61 62 foreach f : contrib_bin_SCRIPTS 63 configure_file( 64 input: f, 65 output: f, 66 configuration: cdata, 67 install: true, 68 install_dir: get_option('bindir'), 69 ) 70 endforeach 71 72 73 74 # These are for the various single-page-apps 75 # imported from the wallet-core.git 76 # prebuilt branch. These MUST be present, they will 77 # be used by code generated by 'bootstrap'! 78 79 dist_amlspapkgdata_DATA = ['aml-spa/index.html'] 80 install_data( 81 sources: dist_amlspapkgdata_DATA, 82 install_dir: get_option('datadir') / 'taler-exchange' / 'aml-spa', 83 ) 84 85 dist_kycspapkgdata_DATA = ['kyc-spa/index.html'] 86 install_data( 87 sources: dist_kycspapkgdata_DATA, 88 install_dir: get_option('datadir') / 'taler-exchange' / 'kyc-spa', 89 ) 90 91 dist_auditorspapkgdata_DATA = ['auditor-spa/index.html'] 92 install_data( 93 sources: dist_auditorspapkgdata_DATA, 94 install_dir: get_option('datadir') / 'taler-auditor' / 'spa', 95 ) 96 97