Commit efe2a5b0 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

build: Fix updating translations with builddir != srcdir

tx supports a single "--root" argument to pass both where it expects to
read the created data file (the .pot file) and the configuration. As
those are two separate directories with builddir != srcdir, copy the .tx
file from srcdir to builddir to upload the updated .pot file.
parent 9acacefa
...@@ -22,7 +22,8 @@ check-translations: ...@@ -22,7 +22,8 @@ check-translations:
done; done;
update-translations: create-pot check-translations update-translations: create-pot check-translations
@tx pull --all --force --skip @tx -r $(srcdir) pull --all --force --skip
@if [ ! -d .tx ] ; then mkdir .tx ; fi ; cp -f $(srcdir)/.tx/config .tx/
@tx push --source @tx push --source
-include $(top_srcdir)/ -include $(top_srcdir)/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment