File: rules

package info (click to toggle)
depthcharge-tools 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 568 kB
  • sloc: python: 6,010; sh: 642; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME = depthcharge-tools
export PYBUILD_DESTDIR = debian/depthcharge-tools

%:
	dh $@ --with python3,bash-completion --buildsystem pybuild

override_dh_auto_build:
	dh_auto_build
	rst2man mkdepthcharge.rst mkdepthcharge.1
	rst2man depthchargectl.rst depthchargectl.1

override_dh_installinit:
	dh_installinit
	sed -i debian/depthcharge-tools/etc/init.d/depthcharge-tools \
	    -e '/^# Provides:/ s/depthchargectl-bless/depthcharge-tools/'