File: rules

package info (click to toggle)
sphinx-removed-in 0.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: python: 75; makefile: 30; sh: 17
file content (15 lines) | stat: -rwxr-xr-x 317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1

export PYBUILD_NAME=sphinx_removed_in
export PYBUILD_BEFORE_TEST=cp -a {dir}/docs {build_dir}/
export PYBUILD_BEFORE_INSTALL=rm -rf {build_dir}/docs

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .mypy_cache .pytest_cache