File: rules

package info (click to toggle)
haskell-http-api-data 0.4.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 180 kB
  • sloc: haskell: 939; makefile: 10; ansic: 8
file content (16 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DEB_CABAL_PACKAGE = http-api-data
DEB_DEFAULT_COMPILER = ghc

ifneq (,$(filter hppa m68k powerpc ppc64 sparc64 s390x, $(DEB_HOST_ARCH)))
	DEB_ENABLE_TESTS = no
else
	DEB_ENABLE_TESTS = yes
endif

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk

# Run tests under C.UTF-8.
check-ghc-stamp: export LC_ALL := C.UTF-8