~zulcss/horizon/2014.1.rc2

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: James Page
  • Date: 2014-02-25 14:47:22 UTC
  • mfrom: (185.1.2 horizon)
  • Revision ID: james.page@canonical.com-20140225144722-93pnx5zygsp44b1h
Tags: 1:2014.1~b2-0ubuntu2
releasing package horizon version 1:2014.1~b2-0ubuntu2

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
%:
7
7
        dh $@  --with python2
8
8
 
 
9
PYVER=$(shell pyversions -d)
 
10
 
9
11
override_dh_auto_install:
10
12
        # install horizon and dashboard
11
13
        python setup.py install --root=$(CURDIR)/debian/tmp --no-compile -O0 --install-layout=deb
25
27
                $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py
26
28
        cp $(CURDIR)/debian/theme/img/juju.png \
27
29
                $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/img/juju.png
 
30
        ln -fs /usr/lib/$(PYVER)/dist-packages/horizon/static/horizon \
 
31
                $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/openstack_dashboard/static/horizon
28
32
 
29
33
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
30
34
override_dh_auto_test:
31
 
        PYTHONPATH=. bash run_tests.sh -N || true
 
35
        # Skip tests
 
36
        :
32
37
endif
33
38
 
34
 
override_dh_auto_clean:
35
 
        dh_clean
36
 
        rm -rf $(CURDIR)/build
37
 
        rm -rf $(CURDIR)/debian/openstack-dashboard
38
 
        rm -rf $(CURDIR)/debian/python-django-horizon
39
 
        rm -rf $(CURDIR)/debian/tmp
40
 
        find . -name "*.pyc" -exec rm {} \;
41
 
 
42
39
get-orig-source:
43
40
        uscan --verbose --force-download --rename --destdir=../build-area
44
41