Description: Run msgfmt with --endianness little.
 This is needed because of http://bugs.debian.org/468209#51. Also run it with -c
 to check for errors.
Author: Sebastian Ramacher <s.ramacher@gmx.at>
Last-Update: 2012-03-15


diff --git a/po/Makefile b/po/Makefile
index a9b6515..5634dd4 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -33,7 +33,7 @@ update-po: ${PROJECT}.pot
 %/LC_MESSAGES/${PROJECT}.mo: %.po
 	@mkdir -p $(@D)
 	$(ECHO) msgfmt $(shell echo $< | sed 's/\.po//')
-	$(QUIET)msgfmt $< -o $@ -f
+	$(QUIET)msgfmt --endianness little $< -o $@ -f -c
 
 install: ${MOS}
 	$(ECHO) installing translations

