File: rules

package info (click to toggle)
totalopenstation 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,632 kB
  • sloc: python: 3,561; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
export DH_OPTIONS
export PYBUILD_BEFORE_TEST=cp -r {dir}/sample_data {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/sample_data

INSTDIR=debian/tmp

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

override_dh_auto_install:
	dh_auto_install --destdir=$(INSTDIR)

override_dh_auto_clean: