File: rules

package info (click to toggle)
dh-runit 2.15.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 248 kB
  • sloc: perl: 283; sh: 196; haskell: 49; makefile: 22
file content (18 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)

%:
	dh $@

override_dh_installman:
	pod2man dh_runit dh_runit.1
	dh_installman

#disable the test on armhf and armel to prevent FTBFS
override_dh_auto_test:
ifneq (armhf,$(HOST_ARCH))
ifneq (armel,$(HOST_ARCH))
	dh_auto_test
endif
endif