summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-07-02 17:04:13 +0200
committerAllan McRae <allan@archlinux.org>2014-08-03 18:46:31 +1000
commit80eca94c8eec7dfeda02eff437309c4e20931afd (patch)
tree8fed521025c8d286bed8bd07cc812657a81c5cd0 /doc
parent0e18cefe3857b35b90fa1bfb2c5edb7dd8ad2866 (diff)
downloadpacman-80eca94c8eec7dfeda02eff437309c4e20931afd.tar.xz
makepkg: Respect XDG_CONFIG_HOME
Add support for following the XDG Base Directory Specification when reading the user-specific configuration file. If no $XDG_CONFIG_HOME/pacman/makepkg.conf file exists we fall back to sourcing $HOME/.makepkg.conf Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> [Allan] Note XDG_CONFIG_HOME takes priority. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.conf.5.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt
index b15f026c..af4df201 100644
--- a/doc/makepkg.conf.5.txt
+++ b/doc/makepkg.conf.5.txt
@@ -11,7 +11,7 @@ makepkg.conf - makepkg configuration file
Synopsis
--------
-{sysconfdir}/makepkg.conf, ~/.makepkg.conf
+{sysconfdir}/makepkg.conf, $XDG_CONFIG_HOME/pacman/makepkg.conf, ~/.makepkg.conf
Description
@@ -27,7 +27,8 @@ variables. Some of them are non-standard.
The system-wide configuration file is found in {sysconfdir}/makepkg.conf.
Individual options can be overridden (or added to) on a per-user basis in
-~/.makepkg.conf.
+$XDG_CONFIG_HOME/pacman/makepkg.conf or ~/.makepkg.conf, with the former
+taking priority.
The default file is fairly well commented, so it may be easiest to simply
follow directions given there for customization.