From 2f41f6e7005082406f889d84fbb9b308d5e521a0 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 30 Aug 2017 12:47:00 +0200 Subject: meson. fix app defaults install --- meson.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 8d50385..35045ad 100644 --- a/meson.build +++ b/meson.build @@ -132,7 +132,8 @@ executable('kbdtest', [ 'kbdtest.c', 'kbd.c' ]) # build ida mkfallback = find_program('scripts/fallback.pl') hexify = find_program('scripts/hexify.sh') -ida_ad = custom_target('ida-app-defaults', +copy = find_program('cp') +ida_ad = custom_target('ida-app-defaults-fallback', input : ['Ida.ad'], output : ['Ida.ad.h'], command : [ mkfallback, '@INPUT@', '@OUTPUT@']) @@ -158,5 +159,9 @@ if motif_dep.found() include_directories : trans_inc, install : true) install_man('man/ida.1') - install_data('Ida.ad', install_dir : x11resdir) + custom_target('ida-app-defaults', + input : ['Ida.ad'], + output : ['Ida'], + command : [ copy, '@INPUT@', '@OUTPUT@'], + install : true, install_dir : x11resdir) endif -- cgit