#! /usr/bin/make -f export LC_ALL=C.UTF-8 %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild override_dh_installchangelogs: dh_installchangelogs -k CHANGELOG.rst override_dh_auto_clean: dh_auto_clean rm -f xonsh/lexer_table.py xonsh/parser_table.py find . -name '*.pyc' -delete override_dh_sphinxdoc: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ debian/xonsh-doc/usr/share/doc/xonsh-doc/html dh_sphinxdoc -O--buildsystem=pybuild endif override_dh_auto_install: dh_auto_install PYTHONPATH=. help2man --name "Pythonish, BASHwards looking shell" \ --no-info --include debian/xonsh.help2man -o debian/xonsh.1 \ ./debian/tmp/usr/bin/xonsh mkdir -p debian/tmp/usr/share/xonsh/ mv debian/tmp/usr/bin/xon.sh debian/tmp/usr/share/xonsh/ mv debian/tmp/usr/bin/xonsh-cat debian/tmp/usr/share/xonsh/