File: rules

package info (click to toggle)
time-decode 9.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 568 kB
  • sloc: python: 4,644; sh: 80; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
#export PYBUILD_NAME = time-decode
include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --with python3 --buildsystem=pybuild

execute_before_dh_auto_build:
	help2man \
		--version-string='$(DEB_VERSION_UPSTREAM)' \
		--name 'timestamp decoder and converter' \
		--no-info \
		--no-discard-stderr time_decode/time_decode.py | sed 's/.PY//;s/.py//' \
		> debian/time-decode.1