File: rules

package info (click to toggle)
liboggz 1.1.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,352 kB
  • sloc: ansic: 14,332; sh: 10,385; makefile: 469
file content (19 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with bash-completion

override_dh_strip:
	# can be dropped after buster
	dh_strip --dbgsym-migration='liboggz2-dbg (<< 1.1.1-7~)'

ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
# Run our test suite until the upstream source get one
override_dh_auto_test:
	dh_auto_test
	for t in debian/tests/test-*; do \
	    BUILDDIR=`pwd` $$t; \
	done
endif