doc/list-exports: Use the same output directory as the main `Makefile'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 8 Aug 2019 10:13:14 +0000 (11:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 8 Aug 2019 10:13:14 +0000 (11:13 +0100)
This way we (a) don't have to rebuild the project separately for
analysing the symbols, and (b) we won't clobber the ordinary ASDF-
maintained FASLs, which I typically build with different optimization
settings (turning on debugging, specifically).

doc/list-exports

index c82100a..3a444e1 100755 (executable)
@@ -1,6 +1,8 @@
 #! /bin/sh
 ":"; ### -*-lisp-*-
-":"; CL_SOURCE_REGISTRY=$(pwd)/build/src/:; export CL_SOURCE_REGISTRY
+":"; CL_SOURCE_REGISTRY=$(pwd)/build/src/:
+":"; ASDF_OUTPUT_TRANSLATIONS=$(pwd)/src:$(pwd)/build/src
+":"; export CL_SOURCE_REGISTRY ASDF_OUTPUT_TRANSLATIONS
 ":"; exec cl-launch -X -l "sbcl cmucl" -s asdf -i "(sod-exports::main)" -- "$0" "$@" || exit 1
 
 (cl:defpackage #:sod-exports