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

mikeperry at torproject.org mikeperry at torproject.org
Tue Apr 22 15:02:02 UTC 2014


commit 66b647c6b0041ea02a570658cc119cbca6ace327
Author: Tails developers <amnesia at boum.org>
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)"





More information about the tbb-commits mailing list