Logic's more straight forward to implement there instead of having to
check in `configure`, adding a variable to `build-local.in` and using
that variable later on. The logic's the same in both places anyway.
In revision 9f2038a8ef I tried to fix
dependency handling for zapcc which were output in a different
format. Unfortunately this broke with other compiler versions that
still put multiple source files on a single line separated by spaces.
So fix the fix.
zapcc (and probably newer clangs, too) will always output absolute
paths to source files in the dependency files they create. Therefore
the algorithm that removes any file not part of the MKVToolNix source
tree from the dependency list has to take that into account.
- convert gcc to use -include
- add clang support for -include
- new target namespace: pch (invoke rake -T or pch:overview for details)
- move pch logic into rake.d/pch.rb
- convert a few troublesome source files from ISO-8859-1 -> UTF-8
- add persistent config: config.pch.json
- add TTY support for running commands with filters (keeps pretty
color diagnostics even when filtering compiler stdout/stderr)
- for fun try:
drake "pch[pretty]"
drake -j4
drake pch:status
Pulling and integrating the translation updates from Transifex
will need automation. In order to keep the resulting diffs as
small as possible all files will have to use a unified format.
This code re-writes all po files in that format.
If a path + file name exceeds the wrap length then the translation
update mechanism went into an endless loop. So always output at least
one file, even if the line length limit is violated.
The files are encoded in UTF-8. Unfortunately there are situations in
which the environment either has no locale set at all or one that
doesn't use an encoding of UTF-8 (e.g. LC_ALL=C). In such cases Ruby's
default string encoding is set to US-ASCII.
Fixes#1189.
- exclude absolute pathnames from rake.d/dependency.d/ content
- improve readability of content files: 1 file per line
- content size and dependencies reduced from 3.3MB --> 0.9MB
- time to perform rake on built tree reduced from 2200ms to 500ms