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)
Tue, Oct 14, 1:37 AM
Unknown Object (File)
Mon, Oct 6, 2:24 PM
Unknown Object (File)
Wed, Sep 24, 12:27 PM
Unknown Object (File)
Thu, Sep 18, 1:23 AM
Unknown Object (File)
Sep 9 2025, 12:22 AM
Unknown Object (File)
Sep 5 2025, 12:52 PM
Unknown Object (File)
Aug 12 2025, 6:34 AM
Unknown Object (File)
Jul 11 2025, 10:20 AM
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.