File: rules

package info (click to toggle)
slt 0.0.git20140301-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 132 kB
  • sloc: makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=golang --with=golang

override_dh_installman:
	ronn < man/slt.8.ronn >debian/slt.8
	dh_installman

override_dh_dwz:
	dh_dwz -X/usr/bin/slt # no .debug_info section

# Run test only if CPUs >= 2. See Bug#851876
override_dh_auto_test:
ifneq ($(shell nproc), 1)
	dh_auto_test
else
	@echo dh_auto_test skipped on 1-Core CPU platform
endif