Commit | Line | Data |
---|---|---|
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. | |
8 | export XDG_CACHE_HOME := $(shell pwd)/debian/build/cache | |
9 | override_dh_auto_clean: | |
10 | dh_auto_clean | |
11 | rm -rf debian/build/cache | |
d27fd5f3 | 12 | rm -f doc/*.pdf |
3282e81a | 13 | |
5fcc9834 MW |
14 | ## Check that the shared-library symbols are plausible. |
15 | override_dh_makeshlibs:; dh_makeshlibs -- -c4 | |
16 | ||
67d1c5d2 MW |
17 | ## Don't strip the main executable. (It doesn't work, and you get left with |
18 | ## a bare SBCL.) | |
19 | override_dh_strip:; dh_strip -Xusr/bin/sod |