| 1 |
#! /usr/bin/make -f |
| 2 |
# Made with the aid of dh_make, by Craig Small |
| 3 |
# debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. |
| 4 |
# Some lines taken from debmake, by Cristoph Lameter. |
| 5 |
# Largely rewritten for the Cabalised happy by Ian Lynagh in 2006. |
| 6 |
# Largely rewritten for cdbs and hlibrary.mk by Iain Lane in 2009. |
| 7 |
|
| 8 |
export DEB_SETUP_GHC_CONFIGURE_ARGS := --datasubdir=/usr/share/happy --docdir=/usr/share/doc/happy |
| 9 |
|
| 10 |
ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES))) |
| 11 |
export DEB_SETUP_GHC_CONFIGURE_ARGS += --with-happy=/bin/true |
| 12 |
endif |
| 13 |
|
| 14 |
%: |
| 15 |
dh $@ |