public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-dunamai] epel9: feat: generate man pages as part of build
@ 2026-09-28 17:21 Ankur Sinha
  0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-09-28 17:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-dunamai
Branch : epel9
Commit : 8682c6d2f1368cbe2111fa640a7b3e71b992a117
Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
Date   : 2023-05-01T14:22:55+01:00
Stats  : +10/-1532 in 12 file(s)
URL    : https://src.fedoraproject.org/rpms/python-dunamai/c/8682c6d2f1368cbe2111fa640a7b3e71b992a117?branch=epel9

Log:
feat: generate man pages as part of build

---
diff --git a/dunamai-check.1 b/dunamai-check.1
deleted file mode 100644
index c2355ca..0000000
--- a/dunamai-check.1
+++ /dev/null
@@ -1,30 +0,0 @@
-.TH DUNAMAI\-CHECK "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ check
-\(en
-check if a version is valid for a style
-.SH SYNOPSIS
-.B dunamai\ check
-.RB [ \-h ]
-.RB [ \-\-style\  { pep440 , semver , pvp }]
-.RI [ version ]
-.SH OPTIONS
-.SS "POSITIONAL ARGUMENTS"
-.TP
-.I version
-Version to check; may be piped in
-(default:
-.BR None )
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.BR \-\-style\  { pep440 , semver , pvp }
-Style against which to check
-(default:
-.BR pep440 )
-.SH "SEE ALSO"
-.BR dunamai\-from (1)
-.P
-.BR dunamai (1)

diff --git a/dunamai-from-any.1 b/dunamai-from-any.1
deleted file mode 100644
index 2dc0883..0000000
--- a/dunamai-from-any.1
+++ /dev/null
@@ -1,196 +0,0 @@
-.TH DUNAMAI\-FROM\-ANY "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ any
-\(en
-generate version from any detected VCS
-.SH SYNOPSIS
-.B dunamai\ from\ any
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.RB [ \-\-full\-commit ]
-.RB [ \-\-tag\-branch\ \fITAG_BRANCH ]
-.RB [ \-\-tag\-dir\ \fITAG_DIR ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.TP
-.B \-\-full\-commit
-Get the full commit hash instead of the short form
-.RI ( only :
-Git, Mercurial)
-(default:
-.BR False )
-.TP
-.B \-\-tag\-branch\ \fITAG_BRANCH
-Branch on which to find tags, if different than the current branch
-.RI ( only :
-Git)
-(default:
-.BR None )
-.TP
-.B \-\-tag\-dir\ \fITAG_DIR
-Location of tags relative to the root
-.RI ( only :
-Subversion)
-(default:
-.BR tags )
-.SH "SEE ALSO"
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)
-.P
-.BR bzr (1),
-.BR darcs (1),
-.BR fossil (1),
-.BR git (1),
-.BR hg (1),
-.BR svn (1)

diff --git a/dunamai-from-bazaar.1 b/dunamai-from-bazaar.1
deleted file mode 100644
index b09b190..0000000
--- a/dunamai-from-bazaar.1
+++ /dev/null
@@ -1,167 +0,0 @@
-.TH DUNAMAI\-FROM\-BAZAAR "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ bazaar
-\(en 
-generate version from Bazaar
-.SH SYNOPSIS
-.B dunamai\ from\ bazaar
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)
-.P
-.BR bzr (1)

diff --git a/dunamai-from-darcs.1 b/dunamai-from-darcs.1
deleted file mode 100644
index b39017d..0000000
--- a/dunamai-from-darcs.1
+++ /dev/null
@@ -1,167 +0,0 @@
-.TH DUNAMAI\-FROM\-DARCS "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ darcs
-\(en
-generate version from Darcs
-.SH SYNOPSIS
-.B dunamai\ from\ darcs
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)
-.P
-.BR darcs (1)

diff --git a/dunamai-from-fossil.1 b/dunamai-from-fossil.1
deleted file mode 100644
index 07fbe17..0000000
--- a/dunamai-from-fossil.1
+++ /dev/null
@@ -1,167 +0,0 @@
-.TH DUNAMAI\-FROM\-FOSSIL "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ fossil
-\(en
-generate version from Fossil
-.SH SYNOPSIS
-.B dunamai\ from\ fossil
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)
-.P
-.BR fossil (1)

diff --git a/dunamai-from-git.1 b/dunamai-from-git.1
deleted file mode 100644
index d3c4207..0000000
--- a/dunamai-from-git.1
+++ /dev/null
@@ -1,183 +0,0 @@
-.TH DUNAMAI\-FROM\-ANY "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ any
-\(en
-generate version from any detected VCS
-.SH SYNOPSIS
-.B dunamai\ from\ any
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.RB [ \-\-full\-commit ]
-.RB [ \-\-tag\-branch\ \fITAG_BRANCH ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.TP
-.B \-\-full\-commit
-Get the full commit hash instead of the short form
-.RI ( only :
-Git, Mercurial)
-(default:
-.BR False )
-.TP
-.B \-\-tag\-branch\ \fITAG_BRANCH
-Branch on which to find tags, if different than the current branch
-.RI ( only :
-Git)
-(default:
-.BR None )
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)
-.P
-.BR git (1)

diff --git a/dunamai-from-mercurial.1 b/dunamai-from-mercurial.1
deleted file mode 100644
index 4732ec5..0000000
--- a/dunamai-from-mercurial.1
+++ /dev/null
@@ -1,175 +0,0 @@
-.TH DUNAMAI\-FROM\-MERCURIAL "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ mercurial
-\(en
-generate version from Mercurial
-.SH SYNOPSIS
-.B dunamai\ from\ mercurial
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.RB [ \-\-full\-commit ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.TP
-.B \-\-full\-commit
-Get the full commit hash instead of the short form
-.RI ( only :
-Git, Mercurial)
-(default:
-.BR False )
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)
-.P
-.BR hg (1)

diff --git a/dunamai-from-pijul.1 b/dunamai-from-pijul.1
deleted file mode 100644
index bae8fca..0000000
--- a/dunamai-from-pijul.1
+++ /dev/null
@@ -1,165 +0,0 @@
-.TH DUNAMAI\-FROM\-PIJUL "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ pijul
-\(en
-generate version from Pijul
-.SH SYNOPSIS
-.B dunamai\ from\ pijuil
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)

diff --git a/dunamai-from-subversion.1 b/dunamai-from-subversion.1
deleted file mode 100644
index 0716be2..0000000
--- a/dunamai-from-subversion.1
+++ /dev/null
@@ -1,175 +0,0 @@
-.TH DUNAMAI\-FROM\-SUBVERSION "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from\ subversion
-\(en
-generate version from Subversion
-.SH SYNOPSIS
-.B dunamai\ from\ subversion
-.RB [ \-h ]
-.RB [ \-\-metadata ]
-.RB [ \-\-no\-metadata ]
-.RB [ \-\-dirty ]
-.RB [ \-\-tagged\-metadata ]
-.RB [ \-\-pattern\ \fIPATTERN ]
-.RB [ \-\-format\ \fIFORMAT ]
-.RB [ \-\-style\ { pep440 , semver , pvp }]
-.RB [ \-\-latest\-tag ]
-.RB [ \-\-strict ]
-.RB [ \-\-debug ]
-.RB [ \-\-bump ]
-.RB [ \-\-tag\-dir\ \fITAG_DIR ]
-.SH OPTIONS
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.TP
-.B \-\-metadata
-Always include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-no\-metadata
-Never include metadata.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR None )
-.TP
-.B \-\-dirty
-Include dirty flag if applicable.
-Ignored when
-.B \-\-format
-is used
-(default:
-.BR False )
-.TP
-.B \-\-tagged\-metadata
-Include tagged metadata if applicable.
-Ignored when
-.B \-\-format is used
-(default:
-.BR False )
-.TP
-.B \-\-pattern\ \fIPATTERN
-Regular expression matched against the version source.
-This must contain one capture group named
-.B base
-corresponding to the release segment of the source.
-Optionally, it may contain another two groups named
-.B stage
-and
-.B revision
-corresponding to a prerelease type (such as
-.RB \(oq alpha \(cq
-or
-.RB \(oq rc \(cq)
-and number (such as in
-.RB \(oq alpha\-2 \(cq
-or
-.RB \(oq rc3 \(cq).
-It may also contain a group named
-.B tagged_metadata
-corresponding to extra metadata after the main part of the version
-(typically after a plus sign).
-There may also be a group named
-.B epoch
-for the PEP 440 concept.
-If the
-.B base
-group is not present, then instead this will be interpreted
-as a named preset, which may be one of the following:
-.BR default ,
-.B default\-unprefixed
-(default:
-.ad l
-.B (?x)
-.B (?# ignore whitespace)
-.B ^v((?P<epoch>\\\\d+)!)?(?P<base>\\\\d+(\\\\.\\\\d+)*)
-.B (?# v1.2.3 or v1!2000.1.2)
-.B ([-._]?((?P<stage>[a-zA-Z]+)[- ._]?(?P<revision>\\\\d+)?))?\:
-.B (?# b0)
-.B (\\\\+(?P<tagged_metadata>.+))?$
-.B (?#
-.BR +linux) )
-.ad
-.TP
-.B \-\-format\ \fIFORMAT
-Custom output format.
-Available substitutions:
-.BR {base} ,
-.BR {stage} ,
-.BR {revision} ,
-.BR {distance} ,
-.BR {commit} ,
-.BR {dirty} ,
-.BR {tagged_metadata} ,
-.BR {epoch} ,
-.BR {branch} ,
-.BR {branch_escaped} ,
-.BR {timestamp}
-(default:
-.BR None )
-.TP
-.B \-\-style\ { pep440 , semver , pvp }
-Preconfigured output format.
-Will default to PEP 440 if not set and no custom format given.
-If you specify both a style and a custom format,
-then the format will be validated against the style\(cqs rules
-(default:
-.BR None )
-.TP
-.B \-\-latest\-tag
-Only inspect the latest tag on the latest tagged commit for a pattern match
-(default:
-.BR False )
-.TP
-.B \-\-strict
-When there are no tags, fail instead of falling back to
-.B 0.0.0
-(default:
-.BR False )
-.TP
-.B \-\-debug
-Display additional information on stderr for troubleshooting
-(default:
-.BR False )
-.TP
-.B \-\-bump
-Increment the last part of the version
-.B base
-by 1, unless the
-.B stage
-is set, in which case increment the
-.B revision
-by 1 or set it to a default of
-.B 2
-if there was no
-.BR revision .
-Does nothing when on a commit with a version tag.
-(default:
-.BR False )
-.TP
-.B \-\-tag\-dir\ \fITAG_DIR
-Location of tags relative to the root
-.RI ( only :
-Subversion)
-(default:
-.BR tags )
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1)
-.P
-.BR dunamai\-from (1),
-.BR dunamai (1)
-.P
-.BR svn (1)

diff --git a/dunamai-from.1 b/dunamai-from.1
deleted file mode 100644
index de018da..0000000
--- a/dunamai-from.1
+++ /dev/null
@@ -1,54 +0,0 @@
-.TH DUNAMAI\-FROM "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai\ from
-\(en
-generate version from a particular VCS
-.SH SYNOPSIS
-.B dunamai\ from
-.RB [ \-h ]
-.RB { any , git , mercurial , darcs , subversion , bazaar , fossil , pijul }\ ...\:
-.SH OPTIONS
-.SS "POSITIONAL ARGUMENTS"
-.IP
-.RB { any , git , mercurial , darcs , subversion , bazaar , fossil , pijul }
-.TP
-.B any
-Generate version from any detected VCS
-.TP
-.B git
-Generate version from Git
-.TP
-.B mercurial
-Generate version from Mercurial
-.TP
-.B darcs
-Generate version from Darcs
-.TP
-.B subversion
-Generate version from Subversion
-.TP
-.B bazaar
-Generate version from Bazaar
-.TP
-.B fossil
-Generate version from Fossil
-.TP
-.B pijul
-Generate version from Pijul
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.SH "SEE ALSO"
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-check (1)
-.P
-.BR dunamai (1)

diff --git a/dunamai.1 b/dunamai.1
deleted file mode 100644
index fba0904..0000000
--- a/dunamai.1
+++ /dev/null
@@ -1,38 +0,0 @@
-.TH DUNAMAI "1" "December 2022" "" "User Commands"
-.SH NAME
-.B dunamai
-\(en generate dynamic versions
-.SH SYNOPSIS
-.B dunamai
-.RB [ \-h ]
-.RB { from , check }\ ...
-.SH OPTIONS
-.SS "POSITIONAL ARGUMENTS"
-.TP
-.RB { from , check }\ ...
-Each of these has a corresponding man page: for example,
-.BR dunamai\-from (1)
-for
-.RB \(lq dunamai\ from \(rq.
-.TP
-.B from
-Generate version from a particular VCS
-.TP
-.B check
-Check if a version is valid for a style
-.SS "OPTIONAL ARGUMENTS"
-.TP
-.B \-h\fR,\ \fB\-\-help
-Show a help message and exit
-.SH "SEE ALSO"
-.BR dunamai\-from (1),
-.BR dunamai\-from\-any (1),
-.BR dunamai\-from\-bazaar (1),
-.BR dunamai\-from\-darcs (1),
-.BR dunamai\-from\-fossil (1),
-.BR dunamai\-from\-git (1),
-.BR dunamai\-from\-mercurial (1),
-.BR dunamai\-from\-pijul (1),
-.BR dunamai\-from\-subversion (1)
-.P
-.BR dunamai\-check (1)

diff --git a/python-dunamai.spec b/python-dunamai.spec
index ea4fdc5..c16420b 100644
--- a/python-dunamai.spec
+++ b/python-dunamai.spec
@@ -16,17 +16,6 @@ URL:            https://pypi.org/pypi/dunamai
 Source0:        https://github.com/mtkennerly/dunamai/archive/v%{version}/%{name}-%{version}.tar.gz
 
 # Man pages hand-written for Fedora in groff_man(7) format based on --help
-Source100:      dunamai.1
-Source200:      dunamai-check.1
-Source300:      dunamai-from.1
-Source301:      dunamai-from-any.1
-Source302:      dunamai-from-bazaar.1
-Source303:      dunamai-from-darcs.1
-Source304:      dunamai-from-fossil.1
-Source305:      dunamai-from-git.1
-Source306:      dunamai-from-mercurial.1
-Source307:      dunamai-from-pijul.1
-Source308:      dunamai-from-subversion.1
 
 BuildArch:      noarch
 
@@ -46,6 +35,7 @@ BuildRequires:  /usr/bin/darcs
 BuildRequires:  /usr/bin/svn
 BuildRequires:  /usr/bin/bzr
 BuildRequires:  /usr/bin/fossil
+BuildRequires:  help2man
 # pijul is not in Fedora yet
 #BuildRequires:  /usr/bin/pijul
 
@@ -68,10 +58,15 @@ BuildRequires:  /usr/bin/fossil
 %install
 %pyproject_install
 %pyproject_save_files dunamai
-install -t '%{buildroot}%{_mandir}/man1' -p -m 0644 -D \
-    '%{SOURCE100}' '%{SOURCE200}' '%{SOURCE300}' '%{SOURCE301}' \
-    '%{SOURCE302}' '%{SOURCE303}' '%{SOURCE304}' '%{SOURCE305}' \
-    '%{SOURCE306}' '%{SOURCE307}' '%{SOURCE308}'
+
+# generate man pages
+for binary in "dunamai" "dunamai check" "dunamai from" "dunamai from any" "dunamai from bazaar" "dunamai from darcs" "dunamai from fossil" "dunamai from git" "dunamai from mercurial" "dunamai from pijul" "dunamai from subversion"
+do
+    echo "Generating man page for ${binary// /-/}"
+    PATH="$PATH:%{buildroot}/%{_bindir}/" help2man --no-info --no-discard-stderr --output="${binary// /-}.1" "${binary}"
+    install -t '%{buildroot}%{_mandir}/man1' -p -m 0644 -D "${binary// /-}.1"
+done
+
 
 %check
 # set up git

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-28 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 17:21 [rpms/python-dunamai] epel9: feat: generate man pages as part of build Ankur Sinha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox