aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-09-14 16:17:27 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-09-14 16:17:27 -0700
commit2975db76b3c6ce5f70d7dc547e74c61543191b22 (patch)
treec277c0fef55f1bf13e0ee07c384687aa20867b7f /src/Makefile.am
parent4c5969b367d2b8582abc3b0018e18456a7377497 (diff)
parenta0c3ab7ed1011c66b5137a77f701b00be376dda1 (diff)
Merge pull request #2996 from theuni/qt-translation
Update translation process for autotools
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 3499784234..65e675e525 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