File: rules

package info (click to toggle)
evil-el 1.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,068 kB
  • sloc: lisp: 28,141; python: 273; makefile: 101; ruby: 24
file content (24 lines) | stat: -rwxr-xr-x 773 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

%:
	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:
	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 <KAction@gnu.org> Wed, 14 Dec 16 06:05:23 +0300
override_dh_elpa_test:
	if [ -t 1 -a -t 0 ] ; then $(MAKE) test ; fi