On 12 May 2015 at 21:14, Paul Wouters <[email protected]> wrote: > On Tue, 12 May 2015, Andrew Cagney wrote: > > Effectively "programs" and "all" are synonyms. >> > > which is fine with me. > > 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: >> "make all-programs install-programs" >> "make programs-only install-programs" >> "make exec install-exec" ("install-exec" comes from automake) >> preferences, or better suggestions :-) >> >> I'll need to make both these changes simultaneously as otherwise "make >> kvm-update" on VMs no xmlto will break. >> > > This is tricky, as we need a target that builds only "programs" but > cannot be called "programs". I guess "make programs-only". Ideally, > "make install" would figure out if we had ran "make programs" or > "make programs-only" but I guess that's not the easiest. So I'm ok > with "make install-programs". > > What ever happens I think the "programs" should be removed things like that help message (replaced by "all').
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. Perhaps we're looking at this wrong. The motivation for these targets, I believe, is testing and cross builds: - the intent is to speed up the build side by avoiding man pages - they don't require xmlto - they will typically be invoked by internal build scripts (swan-build, swan-install) (make check UPDATEONLY=1), and not us - for cross-builds, it also needs to install config files, making "programs-only" extra weird so perhaps we should just get away from "programs" entirely and specify something else that better reflects the intended result: make min install-min
_______________________________________________ Swan-dev mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan-dev
