File: rules

package info (click to toggle)
colorclass 2.2.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 820 kB
  • sloc: python: 2,079; sh: 12; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 307 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=colorclass

export PYBUILD_BEFORE_TEST=cp example.py {build_dir}
export PYBUILD_AFTER_TEST=rm {build_dir}/example.py

%:
	dh ${@} --buildsystem pybuild

execute_after_dh_auto_clean:
	# help pybuild
	rm -rf *.egg-info

override_dh_compress:
	dh_compress -X example.py