- Create .pot (Portable Object Template) files for the en_US documents
Do not ignore en_US language and generate a `.pot` file instead of a `.po`.
These are used as template for tools like Zanata.
- Execute `msgattrib` even on a new `[.po|.pot]` file
This will be useful to wrap long message lines and avoid bigger diffs in
the future.
Approved by: wosch
Differential Revision: https://reviews.freebsd.org/D16726
- Move definition of various branch-specific variables from
Makefile to Makefile.inc.
- Include share/mk/doc.commands.mk to ensure ${SVN} is properly
defined. If ${SVN} is defined (default) and exists, hardware
is appended to SUBDIR. Add MKTEMP to share/mk/doc.commands.mk
as part of this change.
- If MAN4DIR is not defined (default), use mktemp(1) to create
a temporary directory to check out the share/man/man4 path of
the relevant src branch (determined by evaluating the _BRANCH
variable defined in the Makefile). Once the dev-auto.end is
created, the temporary MAN4DIR is removed. The src-checkout
and man4-rmsrc targets are limited specifically to exclude the
make(install) case, as pseudo-repeatable errors have been
observed under certain conditions that have yet to be determined.
- While here, remove hwlist entities from hardware.xml from
drivers that are no longer present in 12.0-CURRENT.
- Also while here, bump copyright dates.
This is based on a differential revision that had received no
feedback seven months:
https://reviews.freebsd.org/D13467
Approved by: re, doceng (implicit, silence)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D13467
output. This is not only unhelpful for translators, it is distracting
from the already difficult job of translation. If verbose output is
desired, 'make -l' can be used.
if NO_OBJ is defined, but not about the value.
Which means you cannot unset NO_OBJ on the command line or with env variable:
$ make NO_OBJ=""
or
$ export NO_OBJ=""; make
I still think that 'make obj' doesn't really work for the doc
project. But for now, you have to disable it yourself on the command
line or in your ~/.profile.
This is a revert of r51065
This solved the issue with symlinks to directories. The semantic
of `ln -fs' is special if you run it for directories twice, e.g.
mkdir from
ln -sf from to
find . -name from -or -name to
./to
./from
now run it again
ln -sf from to
find . -name from -or -name to
./to
./from
./from/from
ls -l from
total 1
lrwxrwxr-x 1 wosch devel 4 Oct 6 13:54 from -> from
PR: 222737
This feature can be disabled with DOCBOOK_DEPS_DISABLE=YES
Missing dependencies will be reported as a warning, and should
be fixed by the document authors.
PR: 222826
$ make p-all
It works for the sub-directories in a given directory.
On a standard quad core machine the build time goes down
from ca. 20min to 5 minutes.
PR: 222322
the actual date of last update. This fixes the problems with misleading
"last update" dates that only reflect the change in a single
rarely-changed file. Note that hrs had reservations about doing this in
the Makefile rather than with a stylesheet. However, not all our source
files are XML. For now, this change works, and can be replaced by a
more elegant solution later. We should also consider checking dates on
other files that affect the content or appearance of documents, like
images.
Submitted by: grembo