File: rules

package info (click to toggle)
python-cleo 2.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,120 kB
  • sloc: python: 8,293; makefile: 22; sh: 2
file content (19 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export PYBUILD_NAME=cleo
export LANGUAGE=en
export PYBUILD_TEST_ARGS=-k 'not test_find_similar_names and not test_find_ambiguous_namespace'

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

override_dh_auto_build:
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	$(MAKE) -C docs html
endif

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs/_build