File: rules

package info (click to toggle)
haskell-safe-exceptions 0.1.7.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132 kB
  • sloc: haskell: 444; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 318 bytes parent folder | download
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 += -f-smp
endif

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