meson: do not install files from disabled features (#5811)

Mirror conditions from Makefile.am.
This commit is contained in:
userwithuid
2017-04-27 17:47:04 +00:00
committed by Zbigniew Jędrzejewski-Szmek
parent 5d96ab7d6d
commit 1c9f131444
6 changed files with 31 additions and 23 deletions

View File

@@ -2,5 +2,8 @@ file = configure_file(
input : 'README.in',
output : 'README',
configuration : substs)
install_data(file,
install_dir : varlogdir)
if conf.get('HAVE_SYSV_COMPAT', 0) == 1
install_data(file,
install_dir : varlogdir)
endif