summaryrefslogtreecommitdiff
path: root/p/haskell-http-link-header/debian/rules
blob: e7a1cf395c8b000e37fdcfc604ed7017a7bfbd50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DEB_SETUP_BIN_NAME = cabal
DEB_CABAL_PACKAGE = http-link-header
DEB_DEFAULT_COMPILER = ghc

DEB_ENABLE_TESTS = yes

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

# cabal requires the global (i.e., before any subcommand) --config-file switch
# to change where it writes its config.  That's not currently supported with
# Dh_Haskell.sh, so just point it to a writable HOME for now.
export HOME=$(CURDIR)/debian/cabalconfig

check-ghc-stamp: export LC_ALL := C.UTF-8