[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-launcher/master] Add convenience make rule for importing translations.



commit 66b647c6b0041ea02a570658cc119cbca6ace327
Author: Tails developers <amnesia@xxxxxxxx>
Date:   Fri Mar 14 12:05:04 2014 +0100

    Add convenience make rule for importing translations.
---
 Makefile |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b698f4e..0e45753 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ STANDALONE_NAME=$(EXT_NAME)-standalone
 STANDALONE_TARBALL=$(shell echo "$(STANDALONE_NAME)-$(VERSION).tar.gz")
 REQUIRED_TRANSLATION_FILES=$(shell ls -1 src/chrome/locale/en/)
 
-AVAIL_TARGETS=help package standalone clean
+AVAIL_TARGETS=help package standalone import-translations clean
 
 ifeq ($(VERBOSE),1)
 	ZIP=zip
@@ -78,6 +78,9 @@ standalone:	pkg-prepare
 	@rm -rf "$(TMP)"
 	@echo "Created standalone package pkg/$(STANDALONE_TARBALL)"
 
+import-translations:
+	@( cd localization && ./import-translations.sh )
+
 clean:
 	@rm -f	"pkg/$(XPI_NAME)" \
 		"pkg/$(STANDALONE_TARBALL)"



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits