<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 12 May 2015 at 21:14, Paul Wouters <span dir="ltr"><<a href="mailto:paul@nohats.ca" target="_blank">paul@nohats.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 12 May 2015, Andrew Cagney wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Effectively "programs" and "all" are synonyms.<br>
</blockquote>
<br></span>
which is fine with me.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This means we're going to have to find a new target name for just build programs/executable. Candidates I've seen so far are:<br>
"make all-programs install-programs"<br>
"make programs-only install-programs"<br>
"make exec install-exec" ("install-exec" comes from automake)<br>
preferences, or better suggestions :-)<br>
<br>
I'll need to make both these changes simultaneously as otherwise "make kvm-update" on VMs no xmlto will break.<br>
</blockquote>
<br></span>
This is tricky, as we need a target that builds only "programs" but<br>
cannot be called "programs". I guess "make programs-only". Ideally,<br>
"make install" would figure out if we had ran "make programs" or<br>
"make programs-only" but I guess that's not the easiest. So I'm ok<br>
with "make install-programs".<br><span class=""><br></span></blockquote><div><br>What ever happens I think the "programs" should be removed things like that help message (replaced by "all').<br><br>I'm struggling to come up with a good way to rationalize "programs-only" vs "manpages"; or why "manpages-only" needs to be so long.<br><br></div><div><span class=""></span></div><div>Perhaps we're looking at this wrong. The motivation for these targets, I believe, is testing and cross builds:<br><br></div><div>- the intent is to speed up the build side by avoiding man pages<br><br></div><div>- they don't require xmlto<br><br></div><div>- they will typically be invoked by internal build scripts (swan-build, swan-install) (make check UPDATEONLY=1), and not us<br><br></div><div>- for cross-builds, it also needs to install config files, making "programs-only" extra weird<br></div><div><br></div><div>so perhaps we should just get away from "programs" entirely and specify something else that better reflects the intended result:<br><br></div><div> make min install-min</div></div><br></div></div>