File: rules

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

RTS_WAYS := (shell ghc --info | grep -e 'RTS ways')

DEB_BUILD_DEPENDENCIES = build-arch
export DEB_ENABLE_TESTS = yes

ifeq (,$(filter $(RTS_WAYS),thr_dyn))
export DEB_SETUP_GHC_CONFIGURE_ARGS=-f-threaded
endif

%:
	dh $@