It looks like meson hides build steps if they do not produce any output
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
cp_command = find_program('cp')
pubsuffix_cc = custom_target(
'cp-pubsuffix',
- command: [cp_command, '-p', '@INPUT@', '@OUTPUT@'],
+ command: [cp_command, '-pv', '@INPUT@', '@OUTPUT@'],
input: src_dir / 'pubsuffix.cc',
output: 'pubsuffix.cc',
)
exit 1
fi
set -e
+echo "Downloading public suffix data and generating $1"
temp=$(mktemp pubsuffixXXXXXX)
curl -s -S https://publicsuffix.org/list/public_suffix_list.dat > $temp
(echo "const char* g_pubsuffix[]={";