From b15db8321195abf8a45a6a053778a46b5afb5b2f Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 1 Oct 2016 14:28:52 -0700 Subject: rewrite d/rules in line with INSTALL --- debian/rules | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 42f7d2b..918d4cc 100755 --- a/debian/rules +++ b/debian/rules @@ -1,20 +1,12 @@ #!/usr/bin/make -f -# these rules originally written by Joey Hess for hothasktags package +export BUILDER=cabal %: dh $@ -override_dh_auto_configure: - ghc --make Setup - ./Setup configure - -override_dh_auto_build: - ./Setup build - -override_dh_auto_clean: - if [ -x Setup ]; then ./Setup clean; fi - rm -f Setup Setup.o Setup.hi +override_dh_auto_install: + $(MAKE) install-files override_dh_strip: # GHC cannot produce debugging symbols so the -dbgsym package -- cgit v1.2.3