anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

meson.build (1302B)


      1 # This file is in the public domain
      2 
      3 configure_file(
      4     input: 'anastasis-dbconfig',
      5     output: 'anastasis-dbconfig',
      6     copy: true,
      7     install: true,
      8     install_dir: get_option('bindir'),
      9 )
     10 
     11 
     12 terms_DATA = ['anastasis-tos-v0.rst', 'anastasis-pp-v0.rst']
     13 install_data(
     14     sources: terms_DATA,
     15     install_dir: get_option('datadir') / 'anastasis' / 'terms',
     16 )
     17 
     18 
     19 #install-exec-local:
     20 #	find locale/ -name "*.po"
     21 #	mkdir -p $(DESTDIR)$(datadir)
     22 #	cp --parents -r $$(find locale/ -name "*.po") $(DESTDIR)$(datadir)
     23 
     24 # FIXME: extracted.h should be put into the dist tarball?
     25 extract_h = custom_target(
     26     'extracted.h',
     27     output: 'extracted.h',
     28     command: ['./extract.sh', meson.current_build_dir()],
     29     install: true,
     30     install_dir: pkgdatadir,
     31 )
     32 
     33 foreach f : [
     34     'redux.al.json',
     35     'redux.be.json',
     36     'redux.ch.json',
     37     'redux.cz.json',
     38     'redux.de.json',
     39     'redux.dk.json',
     40     'redux.es.json',
     41     'redux.fr.json',
     42     'redux.in.json',
     43     'redux.it.json',
     44     'redux.jp.json',
     45     'redux.nl.json',
     46     'redux.sk.json',
     47     'redux.us.json',
     48     'redux.xx.json',
     49     'redux.countries.json',
     50     'provider-list.json',
     51 ]
     52     configure_file(
     53         input: f,
     54         output: f,
     55         configuration: cdata,
     56         install: true,
     57         install_dir: pkgdatadir,
     58     )
     59 endforeach