File: rules

package info (click to toggle)
hbro 1.1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 188 kB
  • sloc: haskell: 1,407; xml: 62; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

DEB_SETUP_GHC_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc/libHSrts_thr.a || echo --flags=-threaded)
DEB_SETUP_GHC_CONFIGURE_ARGS += --datasubdir=hbro

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

install/hbro:: debian/tmp-inst-ghc
	mkdir -p debian/hbro/usr/bin debian/hbro/usr/share/hbro
	cp -av debian/tmp-inst-ghc/usr/bin/* debian/hbro/usr/bin
	cp -av debian/tmp-inst-ghc/usr/share/hbro/* debian/hbro/usr/share/hbro