Skip to content

Commit

Permalink
Add update-translations make target
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 Oct 4, 2011
1 parent c08947a commit 98298ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile.am
Expand Up @@ -75,3 +75,10 @@ tag: uncommitted-check
@git commit -s -m "Tag version $(VERSION)" configure.ac version.sh www/download.xml www/changelog.xml
@git tag v$(VERSION)
@./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/

0 comments on commit 98298ea

Please sign in to comment.