summaryrefslogtreecommitdiff
path: root/p/haskell-werewolf/debian/rules
blob: 0deed99817968855a7f6a53ebfb7e89bc9fd8c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_CABAL_PACKAGE = werewolf
DEB_DEFAULT_COMPILER = ghc

ifeq (yes,$(shell test -e /usr/bin/ghci && echo yes))
ifeq (yes,$(shell ghc --info | grep -q 'Support SMP.*YES' && echo yes))
DEB_ENABLE_TESTS := yes
endif
endif

export LC_ALL=C.UTF-8

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

build/werewolf:: build-ghc-stamp