Permalink
Browse files

just 'make' runs msgfmt, also included the goals used with pomtrans

  • Loading branch information...
1 parent 6f2d2f9 commit 5b6644828c97789a3704fb44ab692fc93cccab0c @unhammer committed Oct 4, 2011
Showing with 20 additions and 0 deletions.
  1. +20 −0 Makefile
View
@@ -0,0 +1,20 @@
+
+all: buddypress-nb_NO.mo buddypress-nn_NO.mo
+
+%.mo: %.po
+ msgfmt $< -o $@
+
+
+
+# Apertium + pomtrans goals, not covered by regular "make":
+mt/%.po: buddypress-%_NO.po
+ mkdir -p mt
+ cp -f $< $@
+
+mt-nb-nn: mt/nn.po mt/nb.po
+ cd mt
+ pomtrans -s nb -t nn -p nn.:nb. -M nb-nn_a-cp -T /usr/local/bin/apertium apertium nn.po
+
+mt-nn-nb: mt/nb.po mt/nn.po
+ cd mt
+ pomtrans -s nn -t nb -p nb.:nn. -M nn-nb -T /usr/local/bin/apertium apertium nb.po

0 comments on commit 5b66448

Please sign in to comment.