File: rules

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

export PYBUILD_NAME=identify

%:
	dh ${@} --buildsystem=pybuild

execute_after_dh_auto_install:
	# manpage
	mkdir -p debian/python3-identify/usr/share/man/man1

	PYTHONPATH=debian/python3-identify/usr/lib/$$(py3versions -d)/dist-packages \
		help2man --no-discard-stderr --name 'File identification tool' \
		debian/python3-identify/usr/bin/identify-cli > debian/python3-identify/usr/share/man/man1/identify-cli.1

execute_after_dh_auto_clean:
	# help pybuild
	rm -rf *.egg-info