Skip to content

Upstream from FTY branch: make distcheck-light-man and ./confgure --with-doc=man=dist-auto features#2473

Merged
jimklimov merged 8 commits intonetworkupstools:masterfrom
jimklimov:issue-1316--distcheck-light-man--docs-dist-auto
Jun 24, 2024
Merged

Upstream from FTY branch: make distcheck-light-man and ./confgure --with-doc=man=dist-auto features#2473
jimklimov merged 8 commits intonetworkupstools:masterfrom
jimklimov:issue-1316--distcheck-light-man--docs-dist-auto

Conversation

@jimklimov
Copy link
Copy Markdown
Member

@jimklimov jimklimov commented Jun 15, 2024

Closes: #2340

Address part of #1316 regarding a couple of features:

  • make distcheck-light-man allows to automate distcheck-style tests with a requirement to re-build MAN pages in the dist'ed directory (make sure we have enough files in the tarball to do so);
  • ./confgure --with-doc=man=dist-auto allows to use pre-distributed MAN pages if present (should be in tarballs; should not be in git; may be left over from earlier builds in same workspace) or build those if we can (the auto part)
    • Nominally this adds generic ./confgure --with-doc=dist-auto as well, but is implemented in detail only for man as we do not dist HTML and PDF products; is a placeholder for those.

The FTY branch further uses the --with-doc=man=dist-auto feature in reference DEB/RPM packaging recipes (not upstreamed yet), and utilized BUILD_TYPE=default-tgt:distcheck-light-man in Travis CI tests (now defunct).

jimklimov and others added 5 commits June 15, 2024 18:25
… distcheck-light-man" to specifically only want docs=man

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… NUT-Monitor and PyNUT (even if as a co-bundle)

Modernize `DISTCHECK_LIGHT_MAN_FLAGS` for 2022+

Replicate commit e19fa23
from PR networkupstools#1504

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…over distcheck-light-man

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…-disted docs if available

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Arnaud Quette <arnaud.quette@free.fr>
@jimklimov jimklimov added documentation CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) portability We want NUT to build and run everywhere possible DMF NUT Data/Dynamic Mapping File/Format/Functionality feature labels Jun 15, 2024
@jimklimov jimklimov added this to the 2.8.3 milestone Jun 15, 2024
jimklimov and others added 2 commits June 15, 2024 18:59
…to their timestamp dependencies

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…scanner=yes situation

Derived from commits 21d6242 and
9322e2e in the FTY branch.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov force-pushed the issue-1316--distcheck-light-man--docs-dist-auto branch from 03835d2 to 4e68fcb Compare June 15, 2024 16:59
@jimklimov jimklimov merged commit ea7fb7e into networkupstools:master Jun 24, 2024
@jimklimov jimklimov deleted the issue-1316--distcheck-light-man--docs-dist-auto branch June 24, 2024 07:00
jimklimov added a commit to jimklimov/nut that referenced this pull request Jun 25, 2024
jimklimov added a commit to jimklimov/nut that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) DMF NUT Data/Dynamic Mapping File/Format/Functionality feature documentation portability We want NUT to build and run everywhere possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import from FTY branch: recipes to configure --with-docs=dist-auto

2 participants