File: rules

package info (click to toggle)
dumb-init 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 248 kB
  • ctags: 120
  • sloc: python: 680; ansic: 239; makefile: 87; sh: 40
file content (32 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download | duplicates (2)
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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

MAN=debian/dumb-init.1

override_dh_clean:
	$(RM) -rv .cache
	dh_clean \
            $(MAN)

$(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 tests/
endif