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:
Eli Schwartz 2022-01-11 20:46:29 -05:00
parent f4256533d1
commit 2c34cef5ef
No known key found for this signature in database
GPG key ID: CEB167EFB5722BD6
4 changed files with 9 additions and 17 deletions

View file

@ -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',

View file

@ -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',