contrib/opportunity: add rule to build .mo files
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 20 Jun 2015 03:02:54 +0000 (23:02 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sun, 21 Jun 2015 21:09:20 +0000 (17:09 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/opportunity/Makefile
contrib/opportunity/src/templates/languages/fr/LC_MESSAGES/Makefile [new file with mode: 0644]

index f1c7392..28b8f78 100644 (file)
@@ -1,3 +1,6 @@
-all:
+all: fr
        mkdir -p bin/
        ../../bin/nitc --dir bin/ src/opportunity_web.nit
+
+fr:
+       make -C src/templates/languages/fr/LC_MESSAGES/
diff --git a/contrib/opportunity/src/templates/languages/fr/LC_MESSAGES/Makefile b/contrib/opportunity/src/templates/languages/fr/LC_MESSAGES/Makefile
new file mode 100644 (file)
index 0000000..fdd3bb8
--- /dev/null
@@ -0,0 +1,6 @@
+all:
+       msgfmt boilerplate.po -o boilerplate.mo
+       msgfmt welcome.po -o welcome.mo
+       msgfmt meetup.po -o meetup.mo
+       msgfmt meetup_creation.po -o meetup_creation.mo
+       msgfmt meetup_confirmation.po -o meetup_confirmation.mo