File: rules

package info (click to toggle)
pydecorate 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,916 kB
  • sloc: python: 587; makefile: 134
file content (19 lines) | stat: -rwxr-xr-x 439 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=pydecorate
export PYBUILD_TEST_ARGS=test.py
export PYBUILD_BEFORE_TEST=cp {dir}/test.py {dir}/*.png {build_dir}
export PYBUILD_AFTER_TEST=rm -f {build_dir}/test.py {build_dir}/*.png

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

override_dh_auto_clean:
	dh_auto_clean

	$(RM) -r *.egg-info
	$(RM) -r .pytest_cache