From: Thomas Goirand Date: Sat, 11 Oct 2014 07:54:58 +0000 (+0000) Subject: Preparing the debian/compile-messages stuff. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a3d92940e1ba709f8d2afa44f6ce367d94740324;p=openstack-build%2Fhorizon-build.git Preparing the debian/compile-messages stuff. Rewritten-From: 7418550bc1ab830c51bd36c7fca484468eb972ba --- diff --git a/trusty/debian/compile-messages b/trusty/debian/compile-messages new file mode 100755 index 0000000..4079622 --- /dev/null +++ b/trusty/debian/compile-messages @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e +set -x + +CURDIR=`pwd` +cd horizon +${CURDIR}/manage.py compilemessages +cd .. +cd openstack_dashboard +${CURDIR}/manage.py compilemessages +cd .. +rm -vf horizon/locale/en/LC_MESSAGES/django*.mo +rm -vf openstack_dashboard/locale/en/LC_MESSAGES/django.mo diff --git a/trusty/debian/rules b/trusty/debian/rules index 1d9eb9a..41b4ee4 100755 --- a/trusty/debian/rules +++ b/trusty/debian/rules @@ -9,6 +9,9 @@ export OSLO_PACKAGE_VERSION=$(VERSION) dh $@ --with python2 override_dh_auto_install: + #chmod +x debian/compile-messages + #$(CURDIR)/debian/compile-messages + set -e && for pyvers in $(PYTHONS); do \ python$$pyvers setup.py install \ --install-layout=deb \