File: rules

package info (click to toggle)
agda 2.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,552 kB
  • sloc: haskell: 106,221; lisp: 3,882; yacc: 1,665; javascript: 599; perl: 15; makefile: 8
file content (17 lines) | stat: -rwxr-xr-x 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_SETUP_GHC_CONFIGURE_ARGS := --datadir='/usr/share' --datasubdir='libghc-agda-dev'

# attempt to fix build on low-memory arm buildds
#export DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10"

export LC_ALL=C.UTF-8

builtins = $(shell find $(CURDIR)/debian/tmp/usr/share/libghc-agda-dev/lib/ -name '*.agda')

execute_after_dh_auto_install-arch:
	$(foreach builtin,$(builtins),Agda_datadir=$(CURDIR)/debian/tmp/usr/share/libghc-agda-dev \
		debian/tmp/usr/bin/agda $(builtin) -v0;)

%:
	dh $@ --with elpa