diff options
author | Olivier Certner <olce.freebsd@certner.fr> | 2021-01-19 12:04:38 +0000 |
---|---|---|
committer | Daniel Ebdrup Jensen <debdrup@FreeBSD.org> | 2021-01-19 14:18:40 +0000 |
commit | 1e7c4a3928bf3b7d5edd89d6d8d02b8cbf0c865c (patch) | |
tree | 689d98a1f35d1ae4f14c4c736b7ac6091052c946 /en_US.ISO8859-1 | |
parent | f2a33a330d5ac238aa9b2f1c4fadb9f7265577d5 (diff) | |
download | doc-1e7c4a3928bf3b7d5edd89d6d8d02b8cbf0c865c.tar.gz doc-1e7c4a3928bf3b7d5edd89d6d8d02b8cbf0c865c.zip |
doc.docbook.mk: Fix LATESTREVISION determination, causes build failure on non-English locales
Fixes, e.g., manual articles/books build (i.e., typing `make` in the right
directory).
There were two problems:
1. Git or SVN information retrieval depends on the current locale, and doesn't
work with non-English ones.
2. Fallback for LATESTREVISION most of the time (sometimes works, probable
race) itself fails because PWD is set to document's directory + '/obj', but
sources are in the document's directory.
Problem 2 is the most annoying because documentation builds simply fails
(`xsltproc` becomes unable to resolve 'latestrevision.*' variables in, e.g.,
articles). But point 2's failure appears only because of point 1's failure,
which doesn't happen on a machine with English or C locale.
PR: 246936
Diffstat (limited to 'en_US.ISO8859-1')
0 files changed, 0 insertions, 0 deletions