X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/67d1c5d2aeeac93be33f9e49671741944ecf1968..5fcc98348b560f1e40261044d59048d2c4ff016f:/debian/rules diff --git a/debian/rules b/debian/rules index b6d10e5..5a407ca 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,18 @@ #! /usr/bin/make -f -%:; dh $@ --parallel -Bdebian/build +%:; dh $@ --parallel --without=autoreconf -Bdebian/build + +## The `sbuild' tool sets a fake `home' directory which doesn't exist. This +## breaks ASDF, which wants to write FASL files into `~/.cache/common-lisp/'. +## Set an explicit cache directory for it, and clear away the FASL cache +## directory on clean. +export XDG_CACHE_HOME := $(shell pwd)/debian/build/cache +override_dh_auto_clean: + dh_auto_clean + rm -rf debian/build/cache + rm -f doc/*.pdf + +## Check that the shared-library symbols are plausible. +override_dh_makeshlibs:; dh_makeshlibs -- -c4 ## Don't strip the main executable. (It doesn't work, and you get left with ## a bare SBCL.)