[pacman-dev] [PATCH] pacman.conf.5: document system hook directory

Allan McRae allan at archlinux.org
Tue Jan 26 10:04:23 UTC 2016


Signed-off-by: Allan McRae <allan at archlinux.org>
---
 doc/Makefile.am       | 3 ++-
 doc/pacman.conf.5.txt | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 90d90f3..5d7c975 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -121,7 +121,8 @@ ASCIIDOC_OPTS = \
 	-a pacman_date="`date +%Y-%m-%d`" \
 	-a pkgdatadir=$(pkgdatadir) \
 	-a localstatedir=$(localstatedir) \
-	-a sysconfdir=$(sysconfdir)
+	-a sysconfdir=$(sysconfdir) \
+	-a datarootdir=$(datarootdir)
 
 A2X_OPTS = \
 	--no-xmllint \
diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt
index b78d1fe..066a27f 100644
--- a/doc/pacman.conf.5.txt
+++ b/doc/pacman.conf.5.txt
@@ -71,7 +71,8 @@ Options
 	path, the root path is not automatically prepended.
 
 *HookDir =* path/to/hook/dir::
-	Add directories to search for alpm hooks.  A typical default is
+	Add directories to search for alpm hooks in addtion to the system hook
+	directory (+{datarootdir}/libalpm/hooks/+).  A typical default is
 	+{sysconfdir}/pacman.d/hooks+.  Multiple directories can be specified with
 	hooks in later directories taking precedence over hooks in earlier
 	directories.  *NOTE*: this is an absolute path, the root path is not
-- 
2.7.0


More information about the pacman-dev mailing list