File: rules

package info (click to toggle)
elastalert 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,312 kB
  • sloc: python: 10,720; makefile: 101
file content (16 lines) | stat: -rwxr-xr-x 560 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# by default pybuild installs files in debian/python-elastalert
export PYBUILD_DESTDIR_python3=debian/elastalert
export PYBUILD_TEST_ARGS="-k-test_auth_aws_region -k-test_wait_until_responsive_timeout_es_not_available -k-test_wait_until_responsive_timeout_index_does_not_exist"

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/source build/html # HTML generator

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pytest_cache