check-patroni/debian/rules
2023-09-06 18:29:55 +05:30

15 lines
403 B
Makefile
Executable file

#! /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/python3.11/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