File: rules

package info (click to toggle)
beanbag-docutils 2.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 488 kB
  • sloc: python: 2,690; makefile: 202; sh: 8
file content (17 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=beanbag-docutils
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=-x -k "not test_extlink_with_anchor"
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -rf beanbag_docutils.egg-info/ docs/_build docs/coderef/modules

override_dh_auto_build:
	dh_auto_build $@ --buildsystem=pybuild
	cd docs; LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml -d _build/doctrees . _build/html