~andreserl/maas/1.10_packaging_conflicts

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: MAAS Lander
  • Author(s): Andres Rodriguez
  • Date: 2015-12-21 14:50:40 UTC
  • mfrom: (435.1.1 packaging)
  • Revision ID: maas_lander-20151221145040-knhxndr3e9gr1rpy
[r=andreserl][bug=][author=andreserl] Install twisted plugins based on python3 version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        install -m 644 $(CURDIR)/debian/maas-dhcp.apparmor \
65
65
            $(CURDIR)/debian/tmp/etc/apparmor.d/dhcpd.d/maas
66
66
 
 
67
        # install python3 twisted plugins
 
68
        set -ex; for python in $(PYTHON3); do \
 
69
                dh_install twisted/plugins/maasregiond.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-region-controller-min; \
 
70
                dh_install twisted/plugins/maasclusterd.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-cluster-controller; \
 
71
        done
 
72
 
67
73
        dh_install --list-missing
68
74
 
69
75
override_dh_auto_clean: