diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-08-19 20:17:04 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-08-19 20:17:04 -0700 |
commit | 09d5f2387828bd3ef6df0c8b150ca24adfeb1346 (patch) | |
tree | 692c32ff9aceaf0579f1e80205df7e797651aae5 /debian/rules | |
parent | 25813fe287383e617339a66eb5657a08e94b51bc (diff) | |
download | keysafe-09d5f2387828bd3ef6df0c8b150ca24adfeb1346.tar.gz |
initial debianisation
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..42f7d2b --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +# these rules originally written by Joey Hess for hothasktags package + +%: + 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_strip: + # GHC cannot produce debugging symbols so the -dbgsym package + # ends up empty, so disable generating it + dh_strip --no-automatic-dbgsym |