File: rules

package info (click to toggle)
certipy 0.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 204 kB
  • sloc: python: 762; makefile: 8
file content (11 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export PYBUILD_NAME=certipy
PYVERS=$(shell python3 -c 'import sysconfig;print (sysconfig.get_python_version())')
PYPATH=debian/python3-certipy/usr/lib/python$(PYVERS)/dist-packages
%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	PYTHONPATH=$(PYPATH) help2man --output=certipy.1 --name="Utility to create and sign CAs and certificates" --version-string=$$(dpkg-parsechangelog -S Version | sed s/-[^-]*$$//) debian/python3-certipy/usr/bin/certipy