File: rules

package info (click to toggle)
darcs 2.18.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,008 kB
  • sloc: haskell: 47,748; sh: 13,466; ansic: 447; perl: 134; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 199 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

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

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

%:
	dh $@ --with bash-completion