<div dir="ltr"><div dir="ltr">On Mon, Nov 8, 2021 at 1:53 PM Kingsley Tart <<a href="mailto:kingsley@dns99.co.uk">kingsley@dns99.co.uk</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I realise that this is not really specific to Asterisk, but this seems<br>
as sensible a place to ask as any.<br>
<br>
If I want to create a script to automate the build of my chosen<br>
Asterisk setup, what's the best way to automate my selections that I<br>
did interactively when I ran "make menuselect" ?<br>
<br>
I think doing that created a makeopts file somewhere. If I were to just<br>
copy in the makeopts file I created from a build on another machine, is<br>
there a process that can check that to ensure that everything selected<br>
in that can be built, or is doing "make" and seeing whether that worked<br>
the only way?<br></blockquote><div><br></div><div>There is a programmatic way of controlling menuselect for this usage[1][2][3] without sharing makeopts file. </div></div><div><br></div>[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options#UsingMenuselecttoSelectAsteriskOptions-ControllingMenuselect">https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options#UsingMenuselecttoSelectAsteriskOptions-ControllingMenuselect</a><div>[2] <a href="https://www.asterisk.org/configuring-an-asterisk-build-from-the-command-line/">https://www.asterisk.org/configuring-an-asterisk-build-from-the-command-line/</a> </div><div>[3] <a href="https://www.asterisk.org/configuring-an-asterisk-build-from-the-command-line-part-2/">https://www.asterisk.org/configuring-an-asterisk-build-from-the-command-line-part-2/</a><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div></div>