File: rules

package info (click to toggle)
dumb-init 1.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 268 kB
  • sloc: python: 677; ansic: 260; makefile: 86; sh: 49
file content (24 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

MAN=debian/dumb-init.1

$(MAN):
	help2man \
      --name 'a minimal init system for Linux containers' \
      --no-discard-stderr \
      --include debian/help2man \
      --no-info \
      ./dumb-init > $@

override_dh_installman: $(MAN)
	dh_installman

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PATH=.:$$PATH py.test-3 tests/
endif