Commit | Line | Data |
---|---|---|
259726f3 MW |
1 | #! /usr/bin/make -f |
2 | %:; dh $@ --parallel -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 | |
12 | ||
67d1c5d2 MW |
13 | ## Don't strip the main executable. (It doesn't work, and you get left with |
14 | ## a bare SBCL.) | |
15 | override_dh_strip:; dh_strip -Xusr/bin/sod |