File: rules

package info (click to toggle)
haskell-warp 3.4.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 456 kB
  • sloc: haskell: 4,873; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_ENABLE_TESTS = yes

ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
	export DEB_SETUP_GHC_CONFIGURE_ARGS := -f-allow-sendfilefd
	export DEB_ENABLE_TESTS = no
endif

# Tests fail on armhf, see https://bugs.debian.org/1091293
ifneq (,$(filter $(DEB_BUILD_ARCH),armhf))
	export DEB_ENABLE_TESTS = no
endif

%:
	dh $@