File: rules

package info (click to toggle)
libdbd-firebird-perl 1.39-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 648 kB
  • sloc: perl: 4,748; ansic: 2,425; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 584 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
#!/usr/bin/make -f

export DBD_FIREBIRD_REQUIRE_EMBEDDED=1
export AUTOMATED_TESTING=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

BAD_ARCH = kfreebsd-amd64 kfreebsd-i386 armel armhf arm64
ifneq (,$(filter $(DEB_HOST_ARCH), $(BAD_ARCH)))
    export DBD_FIREBIRD_TEST_SKIP_EVENTS_FORK=1
endif

export FIREBIRD_INCLUDE=/usr/include
export FIREBIRD_LIB=/usr/lib/$(DEB_BUILD_MULTIARCH)
export FIREBIRD_HOME=$(FIREBIRD_LIB)

%:
	dh $@

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