| 1 |
Description: Use custom directory for ASDF cache when building documentation |
| 2 |
On build daemons, HOME is set to a non-existent directory. |
| 3 |
Author: Sébastien Villemot <[email protected]> |
| 4 |
Forwarded: not-needed |
| 5 |
Last-Update: 2018-04-22 |
| 6 |
--- |
| 7 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 8 |
--- a/doc/Makefile |
| 9 |
+++ b/doc/Makefile |
| 10 |
@@ -10,10 +10,11 @@ clean-crap: |
| 11 |
|
| 12 |
clean: clean-include |
| 13 |
rm -f *.pdf *.html *.info |
| 14 |
+ rm -rf cache |
| 15 |
|
| 16 |
include: |
| 17 |
sbcl --no-userinit --eval '(require :asdf)' \ |
| 18 |
|
| 19 |
+ --eval '(let ((asdf:*user-cache* #p"$(CURDIR)/cache/") (asdf:*central-registry* (list "../"))) (require :alexandria))' \ |
| 20 |
--eval '(with-compilation-unit () (load "docstrings.lisp"))' \ |
| 21 |
--eval '(sb-texinfo:generate-includes "include/" (list :alexandria-1 :alexandria-2) :base-package :alexandria)' \ |
| 22 |
--eval '(quit)' |