File: rules

package info (click to toggle)
haskell-web-routes 0.27.14.2-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 104 kB
  • sloc: haskell: 410; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 412 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)

ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
ifeq (,$(filter $(DEB_BUILD_ARCH),mips mipsel mips64el))
	DEB_ENABLE_TESTS = yes
else
	DEB_ENABLE_TESTS = no
endif
else
	DEB_ENABLE_TESTS = no
endif

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