<div dir="auto">Regarding distcheck, like in other autotools projects, it was historically geared towards testing that "everything" (`--with-all`) can be built from tarball, not relying on git/svn/... sources (and possibly relying on generated files like the copy of configure script itself) - and so to check that we `dist` everything needed (maintain `EXTRA_DIST` mostly). It implicitly assumes that the "maintainer's system" is able to build the whole ecosystem, and "others" have moderate need to dist(check) beside verifying they can and did not break it. Eventually this allows to publish the tarball release with peace of mind.<div dir="auto"><br></div><div dir="auto"> It was later extended for some CI scenarios (e.g. bypass docs or not, as a big time hog and disk space user for TeX tooling) and more swathes of code and build/dist scenarios in forks like 42ity/nut, so nowadays that's tunable by passing DISTCHECK_FLAGS and/or DISTCHECK_CONFIGURE_FLAGS make/env vars...</div><div dir="auto"><br></div><div dir="auto"> You might like to `make distcheck-light` for its `--with-all=auto` mode -- specifically to test against dependencies *your* system has. Alas, not all OSes ship the whole range of third-party code NUT can build against.</div><div dir="auto"><br></div><div dir="auto">Jim</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 30, 2022, 19:02 Greg Troxel <<a href="mailto:gdt@lexort.com">gdt@lexort.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
* make check<br>
<br>
When I run make check, the good news is that it seems to pass<br>
everything.<br>
<br>
But it looks like it is building man pages that maybe should have been<br>
built during the build.<br>
<br>
[snip]<br>
Making check in docs<br>
Making check in man<br>
make check-local<br>
PASSED man-source sanity check (checked 130 files)<br>
DOC-MAN Generating hosts.conf.5<br>
DOC-MAN Generating upsset.conf.5<br>
DOC-MAN Generating upsstats.html.5<br>
DOC-MAN Generating upsset.cgi.8<br>
[snip]<br>
<br>
* make install<br>
<br>
looks good<br>
<br>
* make distcheck<br>
<br>
This fails because of missing libneon, but the earlier configure worked.<br>
Is the configure intentionally forcing on all optional things?<br>
<br>
_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsdev@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev</a><br>
</blockquote></div>