Permalink
Browse files

Add make target for all binary message files

  • Loading branch information...
1 parent a1a8521 commit d8b6a3dd562e64fe27384b65e2c9a43f28f0f099 @takluyver takluyver committed Sep 23, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +3 −1 po/Makefile
View
@@ -1,2 +1,3 @@
*.pyc
build/
+*.mo
View
@@ -4,12 +4,14 @@ LANGS=ca cs de es eu fa fr it nl pl pt_BR pt_PT ru sv zh_CN
%.mo: %.po
msgfmt -o $@ $<
+all-mo: $(LANGS:%=%.mo)
+
labyrinth.pot:
xgettext --language=Python --keyword=_ --output=$@ `find ../labyrinth_lib -name "*.py"`
xgettext --output=$@ --join-existing ../data/labyrinth.glade
update-%-po:
- @echo "Updating $*.po"
+ @echo -n "Updating $*.po"
@result="`msgmerge -o $*.new.po $*.po labyrinth.pot`"; \
if $$result; then \
if cmp $*.po $*.new.po >/dev/null 2>&1; then \

0 comments on commit d8b6a3d

Please sign in to comment.