mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-01-14 20:50:27 +01:00
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.
This commit is contained in:
parent
9acacefa18
commit
efe2a5b00c
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ check-translations:
|
|||
done;
|
||||
|
||||
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
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue