Mercurial > gemma
view .hgtags @ 2121:bd4370badbf7
Improve Makefile target `makemessages`
* Change code to only run msginit, if the file is not there.
This avoids losing data if msgmerge fails because of a temorarily
bad .po file. Rewrite the used shell code using `if` instead of
using more implicit `||` and `&&` operator to make it more readable.
* Make the operation stop if one of the commands in the makemessages
loop fails, so that errors are propagated up to the build process and
can be noticed.
Given to upstream at https://github.com/Polyconseil/vue-gettext/issues/84 .
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Tue, 05 Feb 2019 13:34:29 +0100 |
parents | e06cdc5ef4e5 |
children | b556db0a701f |
line wrap: on
line source
532c8392048fe720bf31b7efb475591ab95a74ec v1-uat1 136aaa7f00af0b500c5c75f9fd9aabfc7fa526ee v1.1.0 724758455a4e44d25b096f00bcb353ceda0e0d57 v2-preview20190111 0059aa870a396e2112efae43f822c0c133454d7a v2