mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-07 03:52:00 +03:00
acbe048486
Instead of hardcoded (via MC_USERCONF_DIR) path mc mc now used dynamic directories specified by environment variables: * XDG_CONFIG_HOME - dir for config files . By default is ~/.config/mc * XDG_DATA_HOME - dir for some data, such as user defuned Syntax file, menu etc By default is ~/.local/share/mc * XDG_CACHE_HOME - dir for temp files, such as cooledit.clip etc. By default is ~/.cache/mc This is mainstream standard already adopted by many projects. Old settings will be migrated at first time from ~/.mc to these dirs. See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html for more info. Signed-off-by: Slava Zanko <slavazanko@gmail.com> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
14 lines
229 B
Makefile
14 lines
229 B
Makefile
|
|
noinst_LTLIBRARIES = libmcconfig.la
|
|
|
|
libmcconfig_la_SOURCES = \
|
|
common.c \
|
|
get.c \
|
|
set.c \
|
|
paths.c
|
|
|
|
libmcconfig_la_CFLAGS = -I$(top_srcdir) \
|
|
$(GLIB_CFLAGS) \
|
|
-DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\"
|
|
|