File: rules

package info (click to toggle)
python-pylibdmtx 0.1.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 260 kB
  • sloc: python: 1,093; makefile: 11; sh: 5
file content (19 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=pylibdmtx

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	$(RM) debian/python3-pylibdmtx/usr/bin/read_datamatrix.py
	$(RM) debian/python3-pylibdmtx/usr/bin/write_datamatrix.py

override_dh_installman:
	docbook-to-man debian/manpage.read_datamatrix.sgml > read_datamatrix.1
	docbook-to-man debian/manpage.write_datamatrix.sgml > write_datamatrix.1
	dh_installman