Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

jimklimov
Copy link
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 <[email protected]>
… 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 <[email protected]>
@jimklimov jimklimov added documentation CI Entries related to continuous integration infrastructure (historically also recipes like Makefiles) 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 <[email protected]>
…scanner=yes situation

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

Signed-off-by: Jim Klimov <[email protected]>
@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
30 checks passed
@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 (historically also recipes like Makefiles) 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