meson: use install_emptydir() and drop meson-make-symlink.sh
The script is mostly equivalent to 'mkdir -p' and 'ln -sfr'. Let's replace it with install_emptydir() builtin function and inline meson call.
This commit is contained in:
committed by
Luca Boccassi
parent
653c90ec0e
commit
9289e093ae
+2
-3
@@ -44,9 +44,8 @@ if install_tests
|
||||
|
||||
# The unit tests implemented as shell scripts expect to find testdata/
|
||||
# in the directory where they are stored.
|
||||
meson.add_install_script(meson_make_symlink,
|
||||
testdata_dir,
|
||||
unittestsdir / 'testdata')
|
||||
meson.add_install_script(sh, '-c', ln_s.format(testdata_dir,
|
||||
unittestsdir / 'testdata'))
|
||||
endif
|
||||
|
||||
############################################################
|
||||
|
||||
Reference in New Issue
Block a user