From 6ed5ef9819c143b65a9f92c63b65d66feac59506 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 4 Jul 2019 09:59:09 +0200 Subject: meson: create /var/log/journal/{,remote/} conditionally Not everybody has those dirs in the filesystem (and they don't need to). When creating an installation package using $DESTDIR, it is easy enough to remove or ignore those directories, but if installing into a real root, it is ugly to create and remove them. Let's add an option so people can skip it if they want. Inspired by #12930. --- docs/var-log/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/var-log') diff --git a/docs/var-log/meson.build b/docs/var-log/meson.build index 0ddff20ce5..993eb31d67 100644 --- a/docs/var-log/meson.build +++ b/docs/var-log/meson.build @@ -5,7 +5,7 @@ file = configure_file( output : 'README', configuration : substs) -if conf.get('HAVE_SYSV_COMPAT') == 1 +if conf.get('HAVE_SYSV_COMPAT') == 1 and get_option('create-log-dirs') install_data(file, install_dir : varlogdir) endif -- cgit v1.2.3