File: rules

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

include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME=puremagic

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_installman:
	PYTHONPATH=. help2man debian/python3-puremagic/usr/bin/puremagic \
		--no-info --section 1 \
		--name 'pure-Python utility to identify a file based off its magic numbers' \
		--version-string $(DEB_VERSION_UPSTREAM) > debian/puremagic.1