File: rules

package info (click to toggle)
haskell-happstack-server 7.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 472 kB
  • sloc: haskell: 4,354; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 333 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
DEB_ENABLE_TESTS = yes


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