doc: set rootdir correctly in man pages
If an alternative rootdir is specified in either meson or configure it's not respected in the generated man pages. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
e03752e6ad
commit
298bcf7986
3 changed files with 4 additions and 2 deletions
|
@ -112,7 +112,8 @@ ASCIIDOC_OPTS = \
|
||||||
-a pkgdatadir=$(pkgdatadir) \
|
-a pkgdatadir=$(pkgdatadir) \
|
||||||
-a localstatedir=$(localstatedir) \
|
-a localstatedir=$(localstatedir) \
|
||||||
-a sysconfdir=$(sysconfdir) \
|
-a sysconfdir=$(sysconfdir) \
|
||||||
-a datarootdir=$(datarootdir)
|
-a datarootdir=$(datarootdir) \
|
||||||
|
-a rootdir=$(ROOTDIR)
|
||||||
|
|
||||||
A2X_OPTS = \
|
A2X_OPTS = \
|
||||||
--no-xmllint \
|
--no-xmllint \
|
||||||
|
|
|
@ -31,6 +31,7 @@ asciidoc_opts = [
|
||||||
'-a', 'localstatedir=@0@'.format(LOCALSTATEDIR),
|
'-a', 'localstatedir=@0@'.format(LOCALSTATEDIR),
|
||||||
'-a', 'sysconfdir=@0@'.format(SYSCONFDIR),
|
'-a', 'sysconfdir=@0@'.format(SYSCONFDIR),
|
||||||
'-a', 'datarootdir=@0@'.format(DATAROOTDIR),
|
'-a', 'datarootdir=@0@'.format(DATAROOTDIR),
|
||||||
|
'-a', 'rootdir=@0@'.format(ROOTDIR),
|
||||||
]
|
]
|
||||||
|
|
||||||
html_targets = []
|
html_targets = []
|
||||||
|
|
|
@ -131,7 +131,7 @@ Options
|
||||||
not automatically prepended.
|
not automatically prepended.
|
||||||
|
|
||||||
*-r, \--root* <path>::
|
*-r, \--root* <path>::
|
||||||
Specify an alternative installation root (default is `/`). This should
|
Specify an alternative installation root (default is +{rootdir}+). This should
|
||||||
not be used as a way to install software into `/usr/local` instead of
|
not be used as a way to install software into `/usr/local` instead of
|
||||||
`/usr`.
|
`/usr`.
|
||||||
*NOTE*: If database path or log file are not specified on either the
|
*NOTE*: If database path or log file are not specified on either the
|
||||||
|
|
Loading…
Add table
Reference in a new issue