Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # DH_VERBOSE := 1
4 export LC_ALL=C.UTF-8
5 export PYBUILD_NAME = ctdconverter
6
7 include /usr/share/dpkg/default.mk
8 # this provides:
9 # DEB_SOURCE: the source package name
10 # DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
11 # DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
12 # DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
13 # DEB_VERSION_UPSTREAM: the package's upstream version
14 # DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
15
16 # for hardening you might like to uncomment this:
17 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
18
19 %:
20 dh $@ --buildsystem=pybuild
21
22 debian/CTDConverter.1: debian/rules debian/CTDConverter.help2man
23 PYTHONPATH=$(shell pybuild --print build_dir | awk -F:\ '{print $$2}') \
24 PATH=$$PATH:$(shell pybuild --print build_dir | awk -F:\ '{print $$2}')/../scripts \
25 help2man "CTDConverter cwl" --include=debian/CTDConverter.help2man \
26 --no-info --version-string="$(DEB_VERSION_UPSTREAM)" \
27 --output=debian/CTDConverter.1
28
29 override_dh_installman: debian/CTDConverter.1
30 dh_installman