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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
libfiles = [
'about.tcl',
'blame.tcl',
'branch_checkout.tcl',
'branch_create.tcl',
'branch_delete.tcl',
'branch_rename.tcl',
'branch.tcl',
'browser.tcl',
'checkout_op.tcl',
'choose_font.tcl',
'choose_repository.tcl',
'choose_rev.tcl',
'chord.tcl',
'class.tcl',
'commit.tcl',
'console.tcl',
'database.tcl',
'date.tcl',
'diff.tcl',
'encoding.tcl',
'error.tcl',
'index.tcl',
'line.tcl',
'logo.tcl',
'merge.tcl',
'mergetool.tcl',
'option.tcl',
'remote_add.tcl',
'remote_branch_delete.tcl',
'remote.tcl',
'search.tcl',
'shortcut.tcl',
'spellcheck.tcl',
'sshkey.tcl',
'status_bar.tcl',
'themed.tcl',
'tools_dlg.tcl',
'tools.tcl',
'transport.tcl',
'win32.tcl',
]
nontcl_libfiles = [
'git-gui.ico',
'win32_shortcut.js',
]
foreach file : libfiles + nontcl_libfiles
configure_file(
input: file,
output: file,
copy: true,
install: true,
install_dir: get_option('datadir') / 'git-gui/lib',
)
endforeach
custom_target(
output: 'tclIndex',
command: [
shell,
meson.project_source_root() / 'generate-tclindex.sh',
meson.project_build_root(),
meson.project_build_root() / 'GIT-GUI-BUILD-OPTIONS',
libfiles,
],
depend_files: [
libfiles,
build_options,
],
install: true,
install_dir: get_option('datadir') / 'git-gui/lib',
)
|