File: rules

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

export PYBUILD_NAME = certstream

include /usr/share/dpkg/pkg-info.mk # DEB_VERSION

%:
	dh $@ --buildsystem=pybuild

PKGDIR := $(CURDIR)/debian/python3-certstream

execute_after_dh_auto_install:
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
	mkdir -pv $(PKGDIR)/usr/share/man/man1
	env PYTHONPATH=$(CURDIR) \
	    help2man --no-info --version-string="$(DEB_VERSION)" \
		-Idebian/certstream.h2m \
		-o $(PKGDIR)/usr/share/man/man1/certstream.1 \
		$(PKGDIR)/usr/bin/certstream
endif