aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2013-09-14 11:52:42 -0400
committerCory Fields <[email protected]>2013-09-14 12:11:38 -0400
commit21ffa3ce3ad6f8909d88edca1a1208a091078bb5 (patch)
tree544bd1c8ed8c79bc90e24571dd442c9dc7417771 /src/Makefile.am
parentautotools: teach extract_strings_qt.py to respect the XGETTEXT env variable (diff)
downloaddiscoin-21ffa3ce3ad6f8909d88edca1a1208a091078bb5.tar.xz
discoin-21ffa3ce3ad6f8909d88edca1a1208a091078bb5.zip
autotools: add translate target for qt translations
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 349978423..65e675e52 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -58,6 +58,10 @@ leveldb/libmemenv.a:
@echo "Building LevelDB ..." && cd leveldb && CXX="$(CXX)" CC="$(CC)" \
PLATFORM=$(TARGET_OS) AR="$(AR)" $(MAKE) $(LEVELDB_TARGET_FLAGS) OPT="$(CXXFLAGS) $(CPPFLAGS)" libmemenv.a
+qt/bitcoinstrings.cpp: $(libbitcoin_a_SOURCES)
+ @test -n $(XGETTEXT) || echo "xgettext is required for updating translations"
+ @cd $(top_srcdir); XGETTEXT=$(XGETTEXT) share/qt/extract_strings_qt.py
+
CLEANFILES = leveldb/libleveldb.a leveldb/libmemenv.a *.gcda *.gcno
DISTCLEANFILES = obj/build.h