File: rules

package info (click to toggle)
wys 0.1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 236 kB
  • sloc: ansic: 2,158; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --builddirectory=_build

# generate a manpage for wys binary based on the help command output of th wys binary
override_dh_installman:
	mkdir -p debian/wys/usr/share/man/man1
	help2man -v --help --no-info --name="Daemon to start/stop PulseAudio loopbacks for phone call audio" debian/wys/usr/bin/wys > debian/wys/usr/share/man/man1/wys.1

execute_after_dh_link:
	dh_link usr/lib/systemd/user/wys.service usr/lib/systemd/user/default.target.wants/wys.service