summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-01-17 13:48:22 +0100
committerBastien Nocera <hadess@hadess.net>2019-01-17 13:50:32 +0100
commit15264eac849922b657932a58929eae4bd47338d5 (patch)
tree28c758058a8eef000466dbc5b4d8d7fa06ffe31e
parent58bee0a8b52f4ced82c3ac227e688e24dc4259bf (diff)
downloadshared-mime-info-15264eac849922b657932a58929eae4bd47338d5.tar.gz
build: Fix "update-translations" target for builddir != srcdir
More of a crummy work-around, but it usually only runs on my system, so it shouldn't be a big bother.
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b147d414..16e9cb1f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -80,6 +80,7 @@ all: $(defaultmakedeps)
create-pot:
$(AM_V_GEN) $(MAKE) -C po shared-mime-info.pot
+ cp -a po/shared-mime-info.pot $(top_srcdir)/po/
XDGMIME_PATH=@XDGMIME_PATH@
@@ -145,8 +146,8 @@ check-translations:
if [ $$RET == 1 ] ; then exit 1; fi
update-translations: create-pot
- @tx pull --all --force --skip
- @tx push --source
+ @tx pull --all --force --skip --root $(top_srcdir)
+ @tx push --source --root $(top_srcdir)
# Build ChangeLog from GIT history
ChangeLog: