mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02: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:
@ -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)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|||||||
Reference in New Issue
Block a user