diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-04 09:59:09 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-04 10:16:48 +0200 |
commit | 6ed5ef9819c143b65a9f92c63b65d66feac59506 (patch) | |
tree | 380795fc70e5ae2e319694101bf4cfe346c66ada /docs/var-log | |
parent | Merge pull request #12946 from poettering/blockdev-tweaks (diff) | |
download | systemd-6ed5ef9819c143b65a9f92c63b65d66feac59506.tar.xz systemd-6ed5ef9819c143b65a9f92c63b65d66feac59506.zip |
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.
Diffstat (limited to 'docs/var-log')
-rw-r--r-- | docs/var-log/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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 |