aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiccolò Scatena <speedjack95@gmail.com>2018-10-16 19:44:45 +0200
committerNiccolò Scatena <speedjack95@gmail.com>2018-10-16 19:44:45 +0200
commit027928bdebad4b2d79b7e89270c0a0c7e6bfe999 (patch)
treeabfb0ab2a790d7f8f4d4113422a91e02dce75727
parent615d4bf958c4d5075b041dc8b3b9ae449f55828f (diff)
Set SYSCONFDIR to /etc even when "prefix" is set
SYSCONFDIR should be "/etc" even when prefix="/usr" to be FHS compliant. This is the default in meson from v0.44.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 4fab12d9..3fb1e81e 100644
--- a/meson.build
+++ b/meson.build
@@ -157,7 +157,7 @@ subdir('swaynag')
subdir('swaylock')
config = configuration_data()
-config.set('sysconfdir', join_paths(prefix, sysconfdir))
+config.set('sysconfdir', sysconfdir)
config.set('datadir', join_paths(prefix, datadir))
config.set('prefix', prefix)