<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 11:38 AM, Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">2016-12-08 18:23 GMT+01:00 Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hello,<br><br></div>I'm compiling Asterisk from source on Debian systems.<br><br></div>I'm currently writing a script I'm planning to launch when upgrading from one Asterisk version to another one within the same class (from 13.4.0 to 13.12.0 or from 13.12.0 to 13.8.0, for instance).<br><br></div>Reading [1], I thought the following would work:<br></div>cd /usr/src/asterisk-13.4.0<br></div>./configure<br></div>make<br></div>make install<br>...<br>cd /usr/src/asterisk-13.4.0<br></div>make dist-clean<br><div><br><div><div><div><div><div><div><div>After running above commands, /usr/sbin/asterisk and /usr/lib/asterisk/modules/*.so files still exist.<br></div><div>I would expect both  /usr/sbin/asterisk and /usr/lib/asterisk/modules/*.so filesto be removed so that if I newly installed asterisk instance wouldn't inherit uncontrolled files.<br><br></div><div>I also tried with make clean and make uninstall with the same result but I may have missed some steps during my trials.<br></div></div></div></div></div></div></div></div></div></blockquote><div><br></div></span><div>Correcting myself, make uninstall seems to be what I was after for Asterisk itself.<br></div><div>I'm still searching for the equivalent make target for pjproject.<br></div></div></div></div></blockquote><div><br></div><div>pjproject has a make uninstall target as well.<br><br></div><div>Since v13.8, Asterisk has a --with-pjproject-bundled option [1].  This will configure, build,<br>and statically link with pjproject to give better integration with Asterisk.  It also applies a<br>few backported fixes to the pjproject version used.<br></div><div><br></div><div>Richard<br><br><span class="gmail-">[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+Asterisk" target="_blank">https://wiki.asterisk.org/wiki<wbr>/display/AST/Building+and+Inst<wbr>alling+Asterisk</a></span><br></div></div><br></div></div>