Fix 'make distcheck'

Fix a bug introduced in 6aa50cc4c93fec243cba9cd37c86090496af3feb
Fix 'make distcheck'

'make distcheck' has been broken again in
c74ba603517380bae59f1ff68a5f100c2fb1c960
Remove a duplicated line

INTLTOOL_XML_RULE is used twice in Makefile.am, which results in having
two same lines in generated Makefile.
Add a missing file to POTFILES.in
Don't use localized unit names in comments of the X-Y files

Fix a bug causing 'make distcheck' to fail for all bom_hid# tests in
localized environments because of using of a localized unit name in a
comment line of the output X-Y file.
Add strings to localization

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>
Signed-off-by: bert <bert.timmerman@xs4all.nl>
Add one more localized file to POTFILES.in

Additionally, the file generated from it is moved to POTFILES.skip
Fix 'make distcheck'

Use proper target directory for pcblib-newlib.

Closes-bug: lp-855405

Commit-message-by: Vladimir Zhbanov <vzhbanov@gmail.com>
Fix several typos in the documentation
Fix order of sections in the documentation

Prevent warnings output by "make" when pcb.texi is processed.
Preferencias do PCB to Preferências...

Signed-off-by: bert <bert.timmerman@xs4all.nl>
Fix segfault caused by lack of commas in a format expression

Closes-bug: lp-1275407
Minor changes in po pt_BR.po file

Closes-bug: lp-1274404
pt_BR.po update

Closes-bug: lp-1275446
pt_BR adjusts and make update-po

Signed-off-by: bert <bert.timmerman@xs4all.nl>
update gcode golden files

Checked with linuxcnc - the old goldens had zeros where the parameters
should have been.
Update for release
pcb-printf: make ALLOW_READABLE constant changeable at runtime

The ALLOW_READABLE constant is a bitmask of units which old versions
of pcb can read, which is currently hardcoded to ALLOW_MIL | ALLOW_MM.
This patch replaces the constant with a function call whose return
value can be changed at runtime. (By default the function returns the
old ALLOW_READABLE value, so this commit makes no user-visible changes.)

In a later commit I will add a user-settable option to change the
effective ALLOW_READABLE value, at least to allow reducing it to
simply ALLOW_MM.
Add command-line option --save-metric-only

When passed --save-metric-only, pcb will only use the 'mm' suffix
when saving pcb files, rather than using both mm and mil.
gtk: add option to Preferencs dialog to save in metric-only mode