File: rules

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

PACKAGE_NAME := $(shell python setup.py --name)
export PYBUILD_NAME=$(PACKAGE_NAME)

PYTHON3_VERSION = $(shell py3versions -d)

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

override_dh_install:
	dh_install
	mkdir -p debian/python3-relatorio/usr/share/python3-relatorio
	mv debian/python3-relatorio/usr/lib/"$(PYTHON3_VERSION)"/dist-packages/relatorio/tests/ debian/python3-relatorio/usr/share/python3-relatorio