File: meson.build

package info (click to toggle)
pacman-package-manager 7.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,248 kB
  • sloc: ansic: 24,112; sh: 6,355; python: 6,029; perl: 149; makefile: 15
file content (27 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
libmakepkg_module = 'executable'

sources = [
  'ccache.sh.in',
  'checksum.sh.in',
  'distcc.sh.in',
  'fakeroot.sh.in',
  'debugedit.sh.in',
  'gpg.sh.in',
  'gzip.sh.in',
  'pacman.sh.in',
  'strip.sh.in',
  'sudo.sh.in',
  'vcs.sh.in',
]

foreach src : sources
  output_dir = join_paths(get_option('datadir'), 'makepkg', libmakepkg_module)

  custom_target(
    libmakepkg_module + '_' + src.underscorify(),
    command : [ SCRIPT_EDITOR, '@INPUT@', '@OUTPUT@' ],
    input : src,
    output : '@BASENAME@',
    install : true,
    install_dir : output_dir)
endforeach