File: rules

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

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

execute_after_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