From 1ac9aeab9c3adec91f91292644b1490e3ceae3bf Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sun, 8 Mar 2009 11:44:34 +0000 Subject: [PATCH] Include .mo translation files in releases --- Makefile | 4 +++- ZeroInstall.xml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ba0ce0d..5fb924c 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,11 @@ MO = $(shell find locale -name '*.po' | sed -e 's/\.po/\.mo/') PY = $(shell find zeroinstall -name '*.py') GLADE = $(shell find zeroinstall -name '*.glade' | sed -e 's/\.glade/&.h/') -all: $(MO) +all: translations $(PYTHON) setup.py build +translations: $(MO) + install: all $(PYTHON) setup.py install diff --git a/ZeroInstall.xml b/ZeroInstall.xml index c128064..67334d8 100644 --- a/ZeroInstall.xml +++ b/ZeroInstall.xml @@ -32,6 +32,7 @@ requires first uninstalling another. sed -i "s/^version = '.*'$/version = '$RELEASE_VERSION'/" zeroinstall/__init__.py sed -i "s/^version = '.*'$/version = '$RELEASE_VERSION'/" zeroinstall/0launch-gui/gui.py 0launch http://0install.net/2006/interfaces/0publish --set-released=today --set-version="$RELEASE_VERSION" zeroinstall/0launch-gui/ZeroInstall-GUI.xml + make translations -- 2.11.4.GIT