#!/usr/bin/make -f

DEB_ENABLE_TESTS = no
DEB_SETUP_BIN_NAME = debian/hlibrary.setup
DEB_CABAL_PACKAGE = tldr
DEB_DEFAULT_COMPILER = ghc

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

build/tldr-hs:: build-ghc-stamp

install/tldr-hs:: tldr-hs.1

tldr-hs.1:
	./dist-ghc/build/tldr-hs/tldr-hs --help
	help2man -N -o $@ ./dist-ghc/build/tldr-hs/tldr-hs
