Skip to content

Commit

Permalink
man: rename rst2man.py -> rst2man
Browse files Browse the repository at this point in the history
sphinx_rtd_theme 3.0.0 added "support for docutils >0.18, <0.22." [1].
Prior releases limited docutils to <0.21.

docutils 0.21 added "entry points (without the .py extension) instead of
installing the rst2*.py front end tools in the binary PATH." [2]

So change the rst2man call from rst2man.py to rst2man in the man
Makefile.

[1] https://sphinx-rtd-theme.readthedocs.io/en/stable/changelog.html
[2] https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-21-2024-04-09

Signed-off-by: Bastian Krause <[email protected]>
  • Loading branch information
Bastian-Krause committed Oct 8, 2024
1 parent b120654 commit de12746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PAGES := labgrid-client.1 labgrid-coordinator.1 labgrid-exporter.1 labgrid-devic
COMPRESSED := labgrid-client.1.gz labgrid-coordinator.1.gz labgrid-exporter.1.gz labgrid-device-config.5.gz labgrid-pytest.7.gz labgrid-suggest.1.gz

%.1 %.5 %.7: %.rst
rst2man.py $< >$@.tmp
rst2man $< >$@.tmp
mv -f $@.tmp $@

%.gz : %
Expand Down

0 comments on commit de12746

Please sign in to comment.