krb5 commit [krb5-1.12]: Fix typo in sphinx manpage output
Tom Yu
tlyu at MIT.EDU
Wed Jan 15 16:30:46 EST 2014
https://github.com/krb5/krb5/commit/cbb32136406062ba0b6d3f0ba9b8abbc4067684f
commit cbb32136406062ba0b6d3f0ba9b8abbc4067684f
Author: Tom Yu <tlyu at mit.edu>
Date: Tue Jan 14 16:13:44 2014 -0500
Fix typo in sphinx manpage output
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 4d30cc5d0838f6b5b3873046b0dfe72df2bdad11)
ticket: 7817
version_fixed: 1.12.1
status: resolved
src/man/Makefile.in | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/man/Makefile.in b/src/man/Makefile.in
index bcb68cb..4dd2448 100644
--- a/src/man/Makefile.in
+++ b/src/man/Makefile.in
@@ -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
More information about the cvs-krb5
mailing list