[or-cvs] r14538: Added a basic Makefile to make the process faster. Just a qu (check/trunk/i18n)

ioerror at seul.org ioerror at seul.org
Sat May 3 07:08:33 UTC 2008


Author: ioerror
Date: 2008-05-03 03:08:33 -0400 (Sat, 03 May 2008)
New Revision: 14538

Added:
   check/trunk/i18n/Makefile
Modified:
   check/trunk/i18n/README
Log:
Added a basic Makefile to make the process faster. Just a quick shell script really.


Added: check/trunk/i18n/Makefile
===================================================================
--- check/trunk/i18n/Makefile	                        (rev 0)
+++ check/trunk/i18n/Makefile	2008-05-03 07:08:33 UTC (rev 14538)
@@ -0,0 +1,24 @@
+all: build install
+
+build:
+	msgfmt -o TorCheck_de.mo TorCheck_de.po
+	msgfmt -o TorCheck_en.mo TorCheck_en.po
+	msgfmt -o TorCheck_es.mo TorCheck_es.po
+	msgfmt -o TorCheck_fa_IR.mo TorCheck_fa_IR.po
+	msgfmt -o TorCheck_ja.mo TorCheck_ja.po
+	msgfmt -o TorCheck_pl.mo TorCheck_pl.po
+	msgfmt -o TorCheck_pt_BR.mo TorCheck_pt_BR.po
+	msgfmt -o TorCheck_zh_CN.mo TorCheck_zh_CN.po
+
+install:
+	mv TorCheck_de.mo /usr/share/locale/de/TorCheck.mo
+	mv TorCheck_en.mo /usr/share/locale/en/TorCheck.mo
+	mv TorCheck_es.mo /usr/share/locale/es/TorCheck_es
+	mv TorCheck_fa_IR.mo /usr/share/locale/fa_IR/TorCheck.mo
+	mv TorCheck_ja.mo /usr/share/locale/ja/TorCheck.mo
+	mv TorCheck_pl.mo /usr/share/locale/pl/TorCheck.mo
+	mv TorCheck_pt_BR.mo /usr/share/locale/pt_BR/TorCheck.mo
+	mv TorCheck_zh_CN.mo /usr/share/locale/zh_CN/TorCheck.mo
+
+clean:
+	rm TorCheck_*.mo

Modified: check/trunk/i18n/README
===================================================================
--- check/trunk/i18n/README	2008-05-03 07:02:59 UTC (rev 14537)
+++ check/trunk/i18n/README	2008-05-03 07:08:33 UTC (rev 14538)
@@ -17,3 +17,8 @@
 
 Once you've done this for each locale TorCheck supports, messages will be 
 automatically translated.
+
+You may also use the included Makefile:
+
+	make build
+	sudo make install



More information about the tor-commits mailing list