mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-05 20:28:21 +02:00
remove pointless copying of files into build directory
I'm not entirely sure what this did, but it seems to be obsoleted by
commit 93bad82540.
This commit is contained in:
parent
f4256533d1
commit
2c34cef5ef
4 changed files with 9 additions and 17 deletions
|
|
@ -9,13 +9,13 @@ docbook_xml_header = custom_target('docbook_xml_header',
|
|||
)
|
||||
|
||||
dbus_interfaces_refs = []
|
||||
foreach interface_file: dbus_interfaces_files
|
||||
basename = run_command('basename', interface_file.full_path(), '.xml').stdout().strip()
|
||||
foreach interface_file: dbus_interfaces
|
||||
basename = run_command('basename', interface_file, '.xml').stdout().strip()
|
||||
dbus_interfaces_refs += custom_target(basename + '_ref',
|
||||
input: docbook_xml_header,
|
||||
output: basename + '.ref.xml',
|
||||
build_by_default: true,
|
||||
depends: interface_file,
|
||||
depend_files: interface_file,
|
||||
capture: true,
|
||||
command: [
|
||||
bash, '-c',
|
||||
|
|
|
|||
|
|
@ -1,22 +1,14 @@
|
|||
bash = find_program('bash')
|
||||
dbus_interfaces = ['Manager', 'Device']
|
||||
dbus_interfaces_files = []
|
||||
dbus_interfaces = files(
|
||||
'net.reactivated.Fprint.Manager.xml',
|
||||
'net.reactivated.Fprint.Device.xml',
|
||||
)
|
||||
|
||||
foreach interface_name: dbus_interfaces
|
||||
interface = interface_name.to_lower()
|
||||
interface_file = interface + '.xml'
|
||||
dbus_interfaces_files += custom_target('dbus_interface_' + interface,
|
||||
input: interface_file,
|
||||
output: 'net.reactivated.Fprint.@0@.xml'.format(interface_name),
|
||||
command: ['cp', '@INPUT@', '@OUTPUT@'],
|
||||
install: true,
|
||||
install_dir: dbus_interfaces_dir,
|
||||
)
|
||||
endforeach
|
||||
install_data(dbus_interfaces, install_dir: dbus_interfaces_dir)
|
||||
|
||||
# NOTE: We should pass "--glib-min-required 2.64" but cannot
|
||||
fprintd_dbus_sources_base = gnome.gdbus_codegen('fprintd-dbus',
|
||||
sources: dbus_interfaces_files,
|
||||
sources: dbus_interfaces,
|
||||
autocleanup: 'all',
|
||||
interface_prefix: 'net.reactivated.Fprint.',
|
||||
namespace: 'FprintDBus',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue