fix: noconfirm auto-selects first AUR match
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
out = sys.argv[1]
|
||||
|
||||
try:
|
||||
os.mkdir(out)
|
||||
except FileExistsError:
|
||||
pass
|
||||
|
||||
for name in ('a', 'b', 'c'):
|
||||
with open(os.path.join(out, name + '.html'), 'w') as f:
|
||||
f.write(name)
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
project('custom-target-dir-install')
|
||||
|
||||
docgen = find_program('docgen.py')
|
||||
|
||||
custom_target('docgen',
|
||||
output : 'html',
|
||||
command : [docgen, '@OUTPUT@'],
|
||||
install : true,
|
||||
install_dir : join_paths(get_option('datadir'), 'doc/testpkgname'))
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"installed": [
|
||||
{"type": "file", "file": "usr/share/doc/testpkgname/html/a.html"},
|
||||
{"type": "file", "file": "usr/share/doc/testpkgname/html/b.html"},
|
||||
{"type": "file", "file": "usr/share/doc/testpkgname/html/c.html"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user