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)
Sun, Jun 16, 5:17 AM
Unknown Object (File)
Sun, Jun 16, 3:09 AM
Unknown Object (File)
Sat, Jun 15, 10:55 PM
Unknown Object (File)
Tue, Jun 4, 8:35 AM
Unknown Object (File)
May 23 2024, 4:00 AM
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
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 Skipped
Unit
Tests Skipped

Event Timeline

share/mk/doc.translate.mk
72–73

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.