From a3d92940e1ba709f8d2afa44f6ce367d94740324 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 11 Oct 2014 07:54:58 +0000 Subject: [PATCH] Preparing the debian/compile-messages stuff. Rewritten-From: 7418550bc1ab830c51bd36c7fca484468eb972ba --- trusty/debian/compile-messages | 14 ++++++++++++++ trusty/debian/rules | 3 +++ 2 files changed, 17 insertions(+) create mode 100755 trusty/debian/compile-messages 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 \ -- 2.45.2