#!/usr/bin/make -f export EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION=t %: dh $@ --with elpa,sphinxdoc override_dh_auto_build: export http_proxy=127.0.0.1:9 override_dh_auto_build: export https_proxy=127.0.0.1:9 override_dh_auto_build: make docstrings PYTHONPATH=. python3 -m sphinx -N -btexinfo doc/source/ build/info makeinfo --no-split build/info/*.texi -o build/evil.info override_dh_auto_clean: rm -rf build doc/source/_ext/__pycache__ test-results.txt .depend # These tests require terminal, and the following is true: # # * Buildd can't be expected to provide one # * Both sbuild and pbuilder has issues with pty's (#829299). # # That is why code below run tests only if test [ -t 1 ]. # # -- Dmitry Bogatov Wed, 14 Dec 16 06:05:23 +0300 override_dh_elpa_test: if [ -t 1 -a -t 0 ] ; then $(MAKE) test ; fi