Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 5b6644828c97789a3704fb44ab692fc93cccab0c 1 parent 6f2d2f9
Kevin Brubeck Unhammer authored
Showing with 20 additions and 0 deletions.
  1. +20 −0 Makefile
20 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
Please sign in to comment.
Something went wrong with that request. Please try again.