ninja librec-dnslabeltext.a.p/dnslabeltext.cc
cp -vp librec-dnslabeltext.a.p/dnslabeltext.cc "$MESON_PROJECT_DIST_ROOT"
echo 'If the below command generates an error, remove effective_tld_names.dat and pubsuffix.cc from source dir (remains of an autotools build?) and start again with a clean meson setup'
-ninja effective_tld_names.dat
-cp -vp effective_tld_names.dat "$MESON_PROJECT_DIST_ROOT"
+ninja pubsuffix.cc
+cp -vp pubsuffix.cc "$MESON_PROJECT_DIST_ROOT"
pubsuffix_dl_source = 'effective_tld_names.dat'
pubsuffix_cc = src_dir / 'pubsuffix.cc'
if not fs.is_file(pubsuffix_cc)
- if not fs.is_file(pubsuffix_dl_source)
- curl_command = find_program('curl', required: true)
- pubsuffix_dl_source = custom_target(
- 'pubsuffix-dl',
- command: [curl_command, '-s', '-S', '-o', '@OUTPUT@', 'https://publicsuffix.org/list/public_suffix_list.dat'],
- output: pubsuffix_dl_source
- )
- endif
+ curl_command = find_program('curl', required: true)
+ pubsuffix_dl_source = custom_target(
+ 'pubsuffix-dl',
+ command: [curl_command, '-s', '-S', '-o', '@OUTPUT@', 'https://publicsuffix.org/list/public_suffix_list.dat'],
+ output: pubsuffix_dl_source
+ )
mkpubsuffix_command = find_program('mkpubsuffixcc', required: true)
pubsuffix_cc = custom_target(