File: rules

package info (click to toggle)
darcs 2.14.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,228 kB
  • sloc: haskell: 42,837; sh: 11,339; ansic: 774; perl: 129; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

DEB_CABAL_PACKAGE=darcs

DEB_SETUP_GHC_CONFIGURE_ARGS=$(if $(wildcard /usr/lib/ghc/*/libHSrts_thr.a),,-f-threaded) -fpkgconfig -fcurl -f-http -fterminfo --ghc-options="+RTS -V0 -RTS"

binary-post-install/darcs::
	dh_bash-completion

build/darcs :: build-ghc-stamp

install/darcs :: build/$(CABAL_PACKAGE)