Page MenuHomeFreeBSD

`make po' does not update the *.po file
ClosedPublic

Authored by wosch on May 1 2018, 6:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 8:04 AM
Unknown Object (File)
Dec 14 2023, 12:49 PM
Unknown Object (File)
Dec 6 2023, 11:46 PM
Unknown Object (File)
Nov 30 2023, 7:44 PM
Unknown Object (File)
Nov 5 2023, 11:28 AM
Unknown Object (File)
Oct 28 2023, 3:08 AM
Unknown Object (File)
Oct 7 2023, 7:13 PM
Unknown Object (File)
Jun 26 2023, 10:59 PM
Subscribers

Details

Summary

I got a report from a translation team that `make po' is not working anymore. If you run it for a second time the generated *.po file will never change.

I could reproduce this myself for doc/zh_TW.UTF-8/articles/leap-seconds

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227905

Diff Detail

Repository
rD FreeBSD doc repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

share/mk/doc.translate.mk
72–73 ↗(On Diff #42052)

Unrelated finding: It's better to save the creation of the target (${PO_LANG}.po) to be the last command. Otherwise the .new file may not get removed in all cases.

This revision was not accepted when it landed; it landed in state Needs Review.May 10 2018, 8:07 PM
Closed by commit rD51638: Fix `make po' for updates (authored by wosch). · Explain Why
This revision was automatically updated to reflect the committed changes.