Only build test/*.py if out of date.
authorNikolaus Rath <Nikolaus@rath.org>
Mon, 10 Apr 2017 23:39:01 +0000 (16:39 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 10 Apr 2017 23:39:01 +0000 (16:39 -0700)
test/meson.build

index 971c64a52f6f65e57834b978820ec7bb34c9b550..7f07e657a825acf9050b9ccefeac06d87d6a487a 100644 (file)
@@ -18,7 +18,7 @@ td += executable('test_syscalls', 'test_syscalls.c',
 foreach fname : [ 'conftest.py', 'pytest.ini', 'test_examples.py',
                   'util.py' ]
     td += custom_target(fname, input: fname, output: fname,
-                        command: ['cp', '-fP', '--preserve=mode',
+                        command: ['cp', '-fPu', '--preserve=mode',
                                   '@INPUT@', '@OUTPUT@'])
 endforeach