File: rules

package info (click to toggle)
conmon 2.0.25%2Bds1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 496 kB
  • sloc: ansic: 2,570; sh: 517; makefile: 128
file content (32 lines) | stat: -rwxr-xr-x 732 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
29
30
31
32
#!/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 clean` target is broken
override_dh_auto_clean:
	:

# 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