<div dir="ltr"><div><div><div><div><div><div><div>Ok, I&#39;m just pushing an update so that:<br><br></div>- &quot;make base install-base list-base clean-base&quot; builds; installs; lists the files of; and then (not really tested) cleans a &quot;base system build&quot;, what ever &quot;base system&quot; means.<br></div>I suspect that some of the top-level makefile targets, such as &quot;make ipkg&quot;, could be tweaked to use these new targets<br><br></div><div>- swan-build and swan-install use &quot;make build&quot; <a href="http://et.al">et.al</a>. which roughly halves the build time<br><br></div>- &quot;make all install install_file_list clean&quot; builds, installs, lists, cleans a full &quot;userland&quot; build<br></div><br></div>- &quot;make&quot; from the top level prints<br>To build and install on a recent Linux kernel that has NETKEY:<br>   make all &amp;&amp; sudo make install<br>For a minimal install (no manpages) type:<br>   make base &amp;&amp; sudo make install-base<br>See the files INSTALL and README for more general information,<br>and details on how to build / install on KLIPS and other systems<br><br></div><div>- &quot;make&quot; in sub-directories defaults to &quot;all&quot; (this was already mostly the case)<br><br></div>- &quot;make manpages install-manpages list-manpages clean-manpages&quot; does just man pages<br></div><div><div><div><div><div><div><div><div><div><br></div><div>- &quot;make module&quot; <a href="http://et.al" target="_blank">et.al</a>. as before<br><br></div><div>- the target that shall not be named is an alias for &quot;make all&quot;<br><br></div><div>In addition, as yet another reminder of why &quot;recursive make is evil&quot;, I&#39;ve also fixed a bug where parallel make could end up running two make processes in the same directory :-/<br></div><div><br></div><div>Andrew<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 15 May 2015 at 13:35, Paul Wouters <span dir="ltr">&lt;<a href="mailto:paul@nohats.ca" target="_blank">paul@nohats.ca</a>&gt;</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"><span>On Fri, 15 May 2015, Andrew Cagney wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
My suggestion here is to remove &quot;programs&quot; from any and all documentation; but accept it as an<br>
undocumented alias for building all of userland including manuals.<br>
</blockquote>
<br></span>
That&#39;s fine with me.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I personally think &quot;all&quot; should build modules as well; but that seems to get messy.  The argument for<br>
not having &quot;make&quot; default to building everything including modules is that the user needs to select<br>
which modules to build; hence &quot;make&quot; prints a help message and lets the user decide.<br>
</blockquote>
<br></span>
I don&#39;t think so. For one, &quot;module&quot; is a target only on Linux, not on<br>
any other OS we build on. Second, most people at this point should not<br>
build KLIPS and use the stock NETKEY/XFRM code. So 95% of people have<br>
no need for &quot;make module&quot;. For the fedora, rhel and debian packages,<br>
no KLIPS is shipped so we can/should not compile it there.<span><br>
</span> <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The other complication is that we need some short cuts (aka targets) to:<br>
<br>
- build/install all but documentation - linux cross compiles apparently can&#39;t deal with documentation<br>
</blockquote>
<br></span>
You had sort of convinced me those days are over. I also noticed xmlto<br>
no longer drags in latex for me, so perhaps this requirement is now<br>
fine. The only issue is that I would like the test VMs to be able to<br>
not unconditionally rebuild these, beause xmlto is quite slow and it<br>
really slows down the compile/install/test cycle.<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- build/install just binaries and scripts - to speed up test builds (this one would be less of an<br>
issue if the test-build process didn&#39;t rm -rf OBJDIR)<br>
</blockquote>
<br></span>
If we are getting confident that dependancies in lib/ are now properly<br>
detected, and make will rebuild it all fine, the rm -rf could go :)<span><font color="#888888"><br>
<br>
Paul<br>
</font></span></blockquote></div><br></div></div></div></div></div></div></div></div></div></div></div></div>