From 1d2f4ef5a8b05698e33ce8dd87d01c091d38c7b2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Sep 2023 17:54:45 -0400 Subject: Avoid use of deprecated meson string formatting with files Meson annoyingly doesn't provide access to the path of file objects (but it should). It was possible to do that by formatting a string with a file argument, but now this triggers a loud warning that claims it has always been broken and will be deprecated. So, avoid this by juggling things around and maintaining unchecked path strings instead, and hope that they're all passed to files() at some point so they can't get stale. --- meson.build | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index f50c8f52..be430a13 100644 --- a/meson.build +++ b/meson.build @@ -222,20 +222,6 @@ endif # Support # ########### -ttl_metadata_files = files( - 'test/extra/abbreviate/manifest.ttl', - 'test/extra/bad/manifest.ttl', - 'test/extra/big/manifest.ttl', - 'test/extra/good/manifest.ttl', - 'test/extra/lax/manifest.ttl', - 'test/extra/perfect/manifest.ttl', - 'test/extra/prefix/manifest.ttl', - 'test/extra/pretty/manifest.ttl', - 'test/extra/qualify/manifest.ttl', - 'test/extra/root/manifest.ttl', - 'serd.ttl', -) - subdir('scripts') if not get_option('tests').disabled() -- cgit v1.2.1