1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-12 03:35:52 +01:00

Configure: Rename setting DEFSDATADIR to PKGCONFDIR

Directory /etc/WindowMaker is for global defaults configuration, it is not
a "data" folder which is $PREFIX/share/WindowMaker.

The name change make it more consistent with other names.
This commit is contained in:
John D Pell
2021-08-08 09:36:23 +02:00
committed by Carlos R. Mafra
parent 85169642ca
commit 24f5b32469
9 changed files with 24 additions and 22 deletions

View File

@@ -116,9 +116,9 @@ char *wglobaldefaultspathfordomain(const char *domain)
char *t = NULL;
size_t len;
len = strlen(DEFSDATADIR) + strlen(domain) + 2;
len = strlen(PKGCONFDIR) + strlen(domain) + 2;
t = wmalloc(len);
snprintf(t, len, "%s/%s", DEFSDATADIR, domain);
snprintf(t, len, "%s/%s", PKGCONFDIR, domain);
return t;
}