<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thanks.  Is it possible to do this programmatically?  I need this to work without someone manually setting up the config dir.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 22, 2021 at 10:33 AM Stelian Ionescu <<a href="mailto:sionescu@cddr.org">sionescu@cddr.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><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="gmail-m_-3146034272209473989qt"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small"><div 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 style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div 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 style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div 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 style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)"></span></span><br></div></div><div><br></div><div>-- <br></div><div dir="ltr"><div dir="ltr"><div><br></div><div>Ray<br></div></div></div></div></blockquote><div><br></div><div><br></div><div id="gmail-m_-3146034272209473989sig4916231"><div>--<br></div><div>Stelian Ionescu<br></div></div><div><br></div></div></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div></div>Ray<br></div></div>