diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
commit | 23454acb66be2a88647262d98d50e0f115519ea0 (patch) | |
tree | c593751ce3649be2e502fac3e080d6c0045b9fa0 /dm/pathnames.h | |
parent | 08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff) | |
download | bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.zst bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip |
Use PREFIX now
Diffstat (limited to 'dm/pathnames.h')
-rw-r--r-- | dm/pathnames.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dm/pathnames.h b/dm/pathnames.h index 9acdc5cd..3c768c36 100644 --- a/dm/pathnames.h +++ b/dm/pathnames.h @@ -31,7 +31,9 @@ * @(#)pathnames.h 8.1 (Berkeley) 5/31/93 */ -#define _PATH_CONFIG "/etc/dm.conf" -#define _PATH_HIDE "/usr/games/hide/" -#define _PATH_LOG "/var/log/games.log" -#define _PATH_NOGAMES "/etc/nogames" +#include "config.h" + +#define _PATH_CONFIG SYSCONFDIR"/dm.conf" +#define _PATH_HIDE PREFIX"/games/hide/" +#define _PATH_LOG LOCALSTATEDIR"/log/games.log" +#define _PATH_NOGAMES SYSCONFDIR"/nogames" |