summaryrefslogtreecommitdiff
path: root/p/haskell-safe-exceptions/debian/rules
blob: d30a6b839117aa5db3fa68397f50143280d50dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

DEB_ENABLE_TESTS = yes
DEB_CABAL_PACKAGE = safe-exceptions
DEB_DEFAULT_COMPILER = ghc

ifeq (no,$(shell ghc --info | grep -q 'Support SMP.*NO' && echo no))
DEB_SETUP_GHC_CONFIGURE_ARGS += -ftests-single-threaded
endif

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