File: rules

package info (click to toggle)
python-varlink 31.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: python: 2,462; sh: 177; makefile: 31
file content (13 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=varlink
export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/varlink/tests'
export PYBUILD_BEFORE_TEST=cp -r {dir}/varlink/tests/ {build_dir}/varlink/

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. python3 -m sphinx -N -bman $(CURDIR)/docs/ $(CURDIR)/docs/build/man
endif