summaryrefslogtreecommitdiff
path: root/p/haskell-reflection/debian/rules
blob: 33f3cefba98c158ac20eba68f03c4a7944ac6fbe (plain)
1
2
3
4
5
6
7
8
9
10
#!/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