#!/usr/bin/make -f

DEB_CABAL_PACKAGE = geni

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

build/haskell-geni-utils:: build-ghc-stamp
binary-fixup/haskell-geni-utils::
	install -m 755 -s -D dist-ghc/build/geni/geni debian/haskell-geni-utils/usr/bin/geni || true
	install -m 755 -s -D dist-ghc/build/geni-test/geni-test debian/haskell-geni-utils/usr/bin/geni-test || true

# How to install an extra file into the documentation package
#binary-fixup/libghc-geni-doc::
#	echo "Some informative text" > debian/libghc-geni-doc/usr/share/doc/libghc-geni-doc/AnExtraDocFile
