summaryrefslogtreecommitdiff
path: root/docs/var-log/meson.build
diff options
context:
space:
mode:
authoruserwithuid <userwithuid@gmail.com>2017-04-27 17:47:04 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-27 13:47:04 -0400
commit1c9f131444693c6f863a66dc5b189df037e22ff7 (patch)
tree20a7fb407586010897aa41e520852a38c8e87382 /docs/var-log/meson.build
parent5d96ab7d6dafc0e24fdf3e7e36447775d8320a7a (diff)
meson: do not install files from disabled features (#5811)
Mirror conditions from Makefile.am.
Diffstat (limited to 'docs/var-log/meson.build')
-rw-r--r--docs/var-log/meson.build7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/var-log/meson.build b/docs/var-log/meson.build
index 43078c40e9..c833f0f5b0 100644
--- a/docs/var-log/meson.build
+++ b/docs/var-log/meson.build
@@ -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