debian/: Bump to Debhelper 10.
[sod] / debian / rules
CommitLineData
259726f3 1#! /usr/bin/make -f
08628cc8 2%:; dh $@ --parallel --without=autoreconf -Bdebian/build
67d1c5d2 3
3282e81a
MW
4## The `sbuild' tool sets a fake `home' directory which doesn't exist. This
5## breaks ASDF, which wants to write FASL files into `~/.cache/common-lisp/'.
6## Set an explicit cache directory for it, and clear away the FASL cache
7## directory on clean.
8export XDG_CACHE_HOME := $(shell pwd)/debian/build/cache
9override_dh_auto_clean:
10 dh_auto_clean
11 rm -rf debian/build/cache
d27fd5f3 12 rm -f doc/*.pdf
3282e81a 13
67d1c5d2
MW
14## Don't strip the main executable. (It doesn't work, and you get left with
15## a bare SBCL.)
16override_dh_strip:; dh_strip -Xusr/bin/sod