File: rules

package info (click to toggle)
python-chameleon 4.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,124 kB
  • sloc: python: 6,889; xml: 597; makefile: 79
file content (16 lines) | stat: -rwxr-xr-x 514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

#export DH_VERBOSE=1
export PYBUILD_NAME=chameleon
export PYBUILD_TEST_ARGS=$(CURDIR) -s
# avoid installing the testsuite into the binary pkg
export PYBUILD_AFTER_INSTALL=find {destdir} -type d -name "tests" | xargs -r rm -vrf

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

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst

execute_before_dh_sphinxdoc:
	PYTHONPATH=. python3 -m sphinx -b html docs debian/python-chameleon-doc/usr/share/doc/python-chameleon-doc/html