author | David Douard <david.douard@logilab.fr> |
Wed, 22 Jul 2015 17:03:43 +0200 | |
changeset 11653 | 18939907a115 |
parent 11632 | b05f361db666 |
child 11666 | 344df5ba8f7f |
permissions | -rw-r--r-- |
11632 | 1 |
#!/usr/bin/make -f |
2 |
||
11653
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
3 |
export NO_SETUPTOOLS=1 |
11632 | 4 |
|
11653
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
5 |
%: |
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
6 |
dh $@ --with python2 |
11632 | 7 |
|
11653
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
8 |
override_dh_auto_install: |
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
9 |
dh_auto_install |
11632 | 10 |
# remove generated .egg-info file |
11653
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
11 |
rm -rf debian/*/usr/lib/python* |
11632 | 12 |
|
11653
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
13 |
override_dh_python2: |
18939907a115
[pkg] update to dh9 and dh_python2
David Douard <david.douard@logilab.fr>
parents:
11632
diff
changeset
|
14 |
dh_python2 -i /usr/share/cubicweb |