File: rules

package info (click to toggle)
check-patroni 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 592 kB
  • sloc: python: 2,481; sh: 725; makefile: 25
file content (14 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/make -f

export PYBUILD_NAME=check-patroni
%:
	dh $@ --with python3 --buildsystem=pybuild

execute_before_dh_installman:
	mkdir --parent $(CURDIR)/debian/tmp
	PYTHONPATH=debian/check-patroni/usr/lib/$(shell py3versions -d)/dist-packages \
		help2man \
		--no-info \
		--include=$(CURDIR)/debian/check_patroni.1.in \
		debian/check-patroni/usr/bin/check_patroni \
		> $(CURDIR)/debian/tmp/check_patroni.1