meson.build (805B)
1 sqldir = get_option('datadir') / 'taler-exchange' / 'sql' 2 3 # FIXME possibly provide this output in the tgz through dist script 4 run_command('make', '-f', 'Makefile.sql', 'all', check: true) 5 6 sqlfiles = [ 7 'auditor-triggers-0001.sql', 8 'benchmark-0001.sql', 9 'drop.sql', 10 'exchange-0001.sql', 11 'exchange-0002.sql', 12 'exchange-0003.sql', 13 'exchange-0004.sql', 14 'exchange-0005.sql', 15 'exchange-0006.sql', 16 'exchange-0007.sql', 17 'exchange-0008.sql', 18 'exchange-0009.sql', 19 'exchange-0010.sql', 20 'procedures.sql', 21 'tops-0001.sql', 22 'versioning.sql', 23 ] 24 install_data(sources: sqlfiles, install_dir: sqldir) 25 26 27 # This makes meson copy the files into the build directory for testing 28 foreach f : sqlfiles 29 configure_file(input: f, output: f, copy: true) 30 endforeach