File: rules

package info (click to toggle)
haskell-lens 5.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,060 kB
  • sloc: haskell: 16,249; ansic: 20; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 521 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_ENABLE_TESTS = yes

# LANG needs to be en_SOMETHING to make sure that some files work as the
# test suite expects.
check-ghc-stamp: export LANG := en_US.UTF-8

# Doctests just fail on too many architectures. This needs investigation,
# but it should hold up this particular package.
export DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests

ifeq ($(GHC_HAS_SMP),no)
	# Disable tests that require SMP.
	export DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-hunit -f-test-properties
endif

%:
	dh $@