1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_install:
python3 setup.py install --root=debian/awscli --install-layout=deb
mv $(CURDIR)/debian/awscli/usr/bin/aws_bash_completer \
$(CURDIR)/debian/awscli/usr/share/bash-completion/completions/aws
mv $(CURDIR)/debian/awscli/usr/bin/aws_zsh_completer.sh \
$(CURDIR)/debian/awscli/usr/share/zsh/vendor-completions/_awscli
rm $(CURDIR)/debian/awscli/usr/bin/aws.cmd
override_dh_fixperms:
dh_fixperms
chmod -x $(CURDIR)/debian/awscli/usr/lib/python3/dist-packages/awscli/examples/*/*.rst
chmod -x $(CURDIR)/debian/awscli/usr/share/bash-completion/completions/aws
chmod -x $(CURDIR)/debian/awscli/usr/share/zsh/vendor-completions/_awscli
|