File: rules

package info (click to toggle)
haskell-reflection 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 136 kB
  • sloc: haskell: 703; makefile: 7
file content (10 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download | duplicates (4)
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