<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Add this to ~/.config/common-lisp/asdf-output-translations.conf:<br></div><div><br></div><div>(:output-translations<br></div><div>:inherit-configuration<br></div><div>((:home "src")<br></div><div> (:home "output")))<br></div><div><br></div><div>The translation config is pairs of absolute paths, evaluated in order. AFAIU it doesn't allow specifying paths relative to the .asd file.<br></div><div>Here's my config, as a more complex example:<br></div><div><br></div><div>(:output-translations<br></div><div>:inherit-configuration<br></div><div>("/usr/share/common-lisp/source"<br></div><div> (:user-cache "system"))<br></div><div>((:home "lisp/src")<br></div><div> (:user-cache "src"))<br></div><div>((:home "lisp/quicklisp/dists/quicklisp/software")<br></div><div> (:user-cache "qlq"))<br></div><div>((:home "lisp/quicklisp/dists")<br></div><div> (:user-cache "ql"))<br></div><div>((:home "work/src")<br></div><div> (:user-cache "work")))<br></div><div><br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div class="qt-gmail_default" style="font-family:arial, helvetica, sans-serif;font-size:small;"><div class="qt-gmail_default" style="font-family:arial, helvetica, sans-serif;font-size:small;">I want to do a simple output translation and I just can't figure out what the sexp dsl would be for that.<br></div><div class="qt-gmail_default" style="font-family:arial, helvetica, sans-serif;font-size:small;"><br></div><div class="qt-gmail_default" style="font-family:arial, helvetica, sans-serif;font-size:small;">What
I want to do. Let's say my asd file is in src/foo/proj.asd. What I want is
when I build the project, the fasls go in output/foo. I just can't
figure out how to set up the output translations to make this happen.
I'm too stupid to grok the section in the manual about the sexp dsl for
translations.<br></div><div class="qt-gmail_default" style="font-family:arial, helvetica, sans-serif;font-size:small;"><br></div><div class="qt-gmail_default" style="font-family:arial, helvetica, sans-serif;font-size:small;">Help would be appreciated. More examples in the manual (and an updated section?) would be really helpful too.<span class="colour" style="color:rgb(136, 136, 136);"><span class="colour" style="color:rgb(136, 136, 136);"></span></span><br></div></div><div><br></div><div>-- <br></div><div dir="ltr" class="qt-gmail_signature"><div dir="ltr"><div><br></div><div>Ray<br></div></div></div></div></blockquote><div><br></div><div><br></div><div id="sig4916231"><div class="signature">--<br></div><div class="signature">Stelian Ionescu<br></div></div><div><br></div></body></html>