File: rules

package info (click to toggle)
libdbd-firebird-perl 1.24-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 728 kB
  • sloc: perl: 4,419; ansic: 2,367; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 476 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 DBD_FIREBIRD_REQUIRE_EMBEDDED=1
export AUTOMATED_TESTING=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

BAD_ARCH = kfreebsd-amd64 kfreebsd-i386 armel armhf arm64

ifneq (,$(shell for a in $(BAD_ARCH); do dpkg-architecture -e$$a && echo bad$$a; done))
    export DBD_FIREBIRD_TEST_SKIP_EVENTS_FORK=1
endif

%:
	dh $@ --with=perl_dbi

override_dh_auto_clean:
	# avoid re-generating Makefile
	! [ -e Makefile ] || touch Makefile
	dh_auto_clean