[mousetrap/gnome3-wip: 191/240] Add `make mofiles`.
- From: Heidi Ellis <heidiellis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mousetrap/gnome3-wip: 191/240] Add `make mofiles`.
- Date: Mon, 8 Sep 2014 15:28:37 +0000 (UTC)
commit 99f059c5c627669eaa2d90a1c75dc4a8f093b216
Author: Stoney Jackson <dr stoney gmail com>
Date: Sat Jun 28 10:30:24 2014 -0400
Add `make mofiles`.
Makefile.am | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 43d58c8..90107d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -105,3 +105,15 @@ $(POTFILE): $(PYTHON_FILES)
-e '16c "Language: en\\n"' \
-e "18s/CHARSET/UTF-8/" \
$@
+
+
+##############################################################################
+# TARGET: mofiles
+
+PO_FILES := $(shell find src/mousetrap/locale -name "*.po" -print)
+MO_FILES := $(PO_FILES:.po=.mo)
+
+mofiles: $(PO_FILES) $(MO_FILES)
+
+%.mo: %.po
+ msgfmt.py "$<"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]