File: rules

package info (click to toggle)
conmon 2.1.12-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 636 kB
  • sloc: ansic: 3,325; sh: 264; makefile: 134
file content (28 lines) | stat: -rwxr-xr-x 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# Upstream's Makefile doesn't honor CPPFLAGS
CFLAGS+=$(CPPFLAGS)

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	make -C docs docs GOMD2MAN=/usr/bin/go-md2man

# Upstream's `make test` target doesn't work either
override_dh_auto_test:
	:

override_dh_auto_install:
	make install.bin DESTDIR=$(CURDIR)/debian/conmon PREFIX=/usr

override_dh_installchangelogs:
	dh_installchangelogs changelog.txt