File: rules

package info (click to toggle)
haskell-genvalidity 1.1.1.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: haskell: 942; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 357 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

DEB_ENABLE_TESTS = yes
DEB_SETUP_BIN_NAME = debian/hlibrary.setup
DEB_CABAL_PACKAGE = genvalidity
DEB_DEFAULT_COMPILER = ghc

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

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