Navigation Menu

Skip to content

Commit

Permalink
Fix update-translations make target for out-of-tree build
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jun 11, 2012
1 parent c0661fd commit e3ad531
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile.am
Expand Up @@ -91,10 +91,11 @@ tag: uncommitted-check
@./autogen.sh

update-translations:
@if ! git diff-index --name-only --exit-code HEAD -- po/; then \
echo "*** ERROR: Uncommitted changes in above files"; exit 1; fi
@tx pull -af
@git commit -s -m "Update translations from Transifex" -- po/
@cd $(top_srcdir); if ! git diff-index --name-only --exit-code HEAD -- po/; then \
echo "*** ERROR: Uncommitted changes in above files"; exit 1; \
else \
tx pull -af ; git commit -s -m "Update translations from Transifex" -- po/ ; \
fi

upload-pot:
@make -C po openconnect.pot && tx push -s

0 comments on commit e3ad531

Please sign in to comment.