summaryrefslogtreecommitdiff
path: root/p/haskell-monad-logger/debian/rules
blob: 92cf4225e059beab31660d7d80ba020ea3527f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

ifeq (0,$(shell ghc --info | grep -q 'Have interpreter.*YES'; echo $$?))
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=template_haskell
else
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-template_haskell
endif


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