File: rules

package info (click to toggle)
haskell-hmatrix 0.20.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 568 kB
  • sloc: haskell: 6,658; ansic: 2,991; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# keep haddock from choking on non-ASCII characters
export LC_ALL=C.UTF-8

ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
    DEB_SETUP_GHC_CONFIGURE_ARGS = --ghc-options="-optc--param -optcggc-min-expand=10"
endif

# workaround for GHC 9.4 panic
ifeq ($(DEB_HOST_ARCH_BITS), 32)
    DEB_SETUP_GHC_CONFIGURE_ARGS = -O0
endif

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

DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG