challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

meson.build (1201B)


      1 # This file is in the public domain
      2 
      3 install_man(
      4     [
      5         'prebuilt' / 'man' / 'challenger-admin.1',
      6         'prebuilt' / 'man' / 'challenger-config.1',
      7         'prebuilt' / 'man' / 'challenger-dbconfig.1',
      8         'prebuilt' / 'man' / 'challenger-dbinit.1',
      9         'prebuilt' / 'man' / 'challenger-httpd.1',
     10         'prebuilt' / 'man' / 'challenger.conf.5',
     11     ],
     12 )
     13 
     14 fs = import('fs')
     15 
     16 fs.copyfile('prebuilt' / 'texinfo' / 'challenger.texi', 'challenger.texi')
     17 
     18 makeinfo = find_program('makeinfo', native: true, required: false)
     19 
     20 if makeinfo.found()
     21 
     22     f_info = '@0@.info'.format('challenger')
     23     f_texi = meson.current_build_dir() / '@0@.texi'.format('challenger')
     24 
     25     custom_target(
     26         f_info,
     27         output: f_info,
     28         command: [
     29             makeinfo,
     30             '--no-split',
     31             '--no-headers',
     32             f_texi,
     33             '-o',
     34             '@OUTPUT0@',
     35         ],
     36         install: true,
     37         install_dir: get_option('infodir'),
     38     )
     39 
     40 endif
     41 
     42 
     43 install_emptydir(get_option('infodir') / 'challenger-figures')
     44 install_data(
     45     'prebuilt' / 'texinfo' / 'challenger-figures' / 'challenger.png',
     46     install_dir: get_option('infodir') / 'challenger-figures',
     47 )