Skip to content

Commit

Permalink
Fix typo in sphinx manpage output
Browse files Browse the repository at this point in the history
Some versions of the sphinx manpage writer have a typo in the name
'reStructuredText' written into the comments.  Add a sed command to
fix this.

(cherry picked from commit 4d30cc5)

ticket: 7817
version_fixed: 1.12.1
status: resolved
  • Loading branch information
tlyu committed Jan 15, 2014
1 parent 887e561 commit cbb3213
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/man/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ man: $(docsrc)/version.py
$(SPHINX_BUILD) -q -t mansubs -b man $(docsrc) rst_man
for f in rst_man/*.[0-9]; do \
name=`echo $$f | sed -e 's|^.*/\(.*\)\.[0-9]$$|\1|'`; \
sed -e '/^\.\\" $$/d' $$f > $(srcdir)/$$name.man; \
sed -e '/^\.\\" $$/d' \
-e '/^\.\\"/s/reStructeredText/reStructuredText/' \
$$f > $(srcdir)/$$name.man; \
done

$(docsrc)/version.py: $(top_srcdir)/patchlevel.h
Expand Down

0 comments on commit cbb3213

Please sign in to comment.