File: rules

package info (click to toggle)
haskell-werewolf 1.5.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,576 kB
  • ctags: 4
  • sloc: haskell: 3,768; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download | duplicates (2)
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