File: rules

package info (click to toggle)
python-test-stages 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 300 kB
  • sloc: python: 792; sh: 24; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=test_stages

include /usr/share/dpkg/default.mk

D=	$(CURDIR)/debian

%:
	dh '$@' --buildsystem=pybuild

execute_after_dh_auto_install:
	mkdir -p -- '$D/tox-stages/usr/bin'
	mv -- '$D/python3-test-stages/usr/bin/tox-stages' '$D/tox-stages/usr/bin/'
	rmdir -- '$D/python3-test-stages/usr/bin'