File: rules

package info (click to toggle)
haskell-safe-exceptions 0.1.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 128 kB
  • sloc: haskell: 434; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download | duplicates (4)
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