File: rules

package info (click to toggle)
dtfabric 20200621-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 796 kB
  • sloc: python: 5,238; sh: 138; makefile: 21
file content (23 lines) | stat: -rwxr-xr-x 560 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

export PYBUILD_NAME:=dtfabric
%:
	dh $@  --with python3 --buildsystem=pybuild

override_dh_install:
	dh_install
	mv debian/python3-dtfabric/usr/bin/validate-definitions.py \
	   debian/python3-dtfabric/usr/bin/validate-definitions
	mv debian/python3-dtfabric/usr/share/doc/dtfabric \
	   debian/python3-dtfabric/usr/share/doc/python3-dtfabric

override_dh_auto_install:
	dh_auto_install
	find ./debian -type f -name "LICENSE" -delete

override_dh_clean:
	dh_clean
	rm -rf dtfabric.egg-info/

override_dh_missing:
	dh_missing --fail-missing