From: Mark Wooding Date: Thu, 8 Aug 2019 10:13:14 +0000 (+0100) Subject: doc/list-exports: Use the same output directory as the main `Makefile'. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/df28942de116d6b194f0f2aee3cf20450d5e44aa doc/list-exports: Use the same output directory as the main `Makefile'. 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). --- diff --git a/doc/list-exports b/doc/list-exports index c82100a..3a444e1 100755 --- a/doc/list-exports +++ b/doc/list-exports @@ -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