Skip to content

build: fix rrsync manpage fallback#970

Merged
tridge merged 1 commit into
masterfrom
fix/rrsync-manpage-fallback
Jun 6, 2026
Merged

build: fix rrsync manpage fallback#970
tridge merged 1 commit into
masterfrom
fix/rrsync-manpage-fallback

Conversation

@steadytao
Copy link
Copy Markdown
Member

Fixes #868 by making maybe-make-man derive fallback manpage names from the output basename rather than the markdown input path.

When --with-rrsync is enabled and md2man cannot generate manpages, make man calls maybe-make-man support/rrsync.1.md. The generated and release manpage name is rrsync.1 but the fallback path previously looked for support/rrsync.1. That missed the prebuilt release manpage and failed with ERROR: support/rrsync.1 cannot be created. This keeps the existing fallback behaviour for top-level manpages and makes the support/rrsync path match the actual generated output name.

@tridge tridge merged commit a5a7500 into master Jun 6, 2026
13 checks passed
@steadytao steadytao deleted the fix/rrsync-manpage-fallback branch June 6, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ERROR: support/rrsync.1 cannot be created.

2 participants