File: rules

package info (click to toggle)
diskcache 5.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,364 kB
  • sloc: python: 7,026; makefile: 20
file content (16 lines) | stat: -rwxr-xr-x 353 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 PYBUILD_NAME=diskcache
export PYBUILD_BEFORE_TEST=cp -a docs {build_dir}

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

override_dh_python3:
	dh_python3
	find debian -name .coverage -delete
	rm -rf debian/python3-$(PYBUILD_NAME)/usr/lib/python3/dist-packages/docs

override_dh_auto_clean:
	dh_auto_clean
	rm -rf dist .cache