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.
This commit is contained in:
Niccolò Scatena 2018-10-16 19:44:45 +02:00
parent 615d4bf958
commit 027928bdeb
No known key found for this signature in database
GPG key ID: 190BFE7BA4F2EF64

View file

@ -157,7 +157,7 @@ subdir('swaynag')
subdir('swaylock') subdir('swaylock')
config = configuration_data() config = configuration_data()
config.set('sysconfdir', join_paths(prefix, sysconfdir)) config.set('sysconfdir', sysconfdir)
config.set('datadir', join_paths(prefix, datadir)) config.set('datadir', join_paths(prefix, datadir))
config.set('prefix', prefix) config.set('prefix', prefix)