summaryrefslogtreecommitdiff
path: root/po/makefile
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-03-16 20:39:59 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-03-16 20:39:59 +0100
commit3bceb058c0d1890eee923aa014c41ad458f88fb6 (patch)
tree3c843cd043db64e950ce4aef4a5199822e80baa3 /po/makefile
parent3dc08d7fda333eb7a4cb3be98cfa22be891abefc (diff)
* po/makefile:
- add hack to run MSGMERGE again if it segfaults. this is to help powerpc to bootstrap
Diffstat (limited to 'po/makefile')
-rw-r--r--po/makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/po/makefile b/po/makefile
index 9f8b7b22e..d2fb8d280 100644
--- a/po/makefile
+++ b/po/makefile
@@ -55,7 +55,11 @@ $(PACKAGE)-all.pot: $(POTFILES)
$(LANG_POFILES) : $(PO_DOMAINS)/%.po : $(PACKAGE)-all.pot
printf "%s " "Generating $@"
echo $@ : $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot > $(PO)/$(call GETDOMAIN,$*)_$(notdir $@).d
- $(MSGMERGE) $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot -o $@
+ # thanks powerpc for segfaulting in msgmerge in the first run
+ # (but not the second) - the part "||.." should get removed
+ # once powerpc is a bit more stable
+ $(MSGMERGE) $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot -o $@ || \
+ $(MSGMERGE) $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot -o $@
$(MOFILES) : $(PO_DOMAINS)/%.mo : $(PO_DOMAINS)/%.po
printf "%s: " "Generating $(LOCALE)/$(notdir $*)/LC_MESSAGES/$(call GETDOMAIN,$*).mo"