File: rules

package info (click to toggle)
bs1770gain 0.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,932 kB
  • sloc: ansic: 11,995; sh: 1,487; makefile: 121
file content (17 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
%:
	dh $@

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Run our test suite until the upstream source get one
override_dh_auto_test:
	dh_auto_test
	BS1770GAIN=`pwd`/libbg/bs1770gain ./debian/tests/test-cmd-tool
endif

# Generate and install manual page
debian/bs1770gain.1: debian/bs1770gain.txtman
	txt2man -t BS1770GAIN -d 2016-12-11 -s 1 debian/bs1770gain.txtman > $@
override_dh_installman: debian/bs1770gain.1
	dh_installman
	$(RM) debian/bs1770gain.1