krb5 commit [krb5-1.11]: Fix typo in sphinx manpage output

Tom Yu tlyu at MIT.EDU
Thu Jan 16 15:46:41 EST 2014


https://github.com/krb5/krb5/commit/498ac7454c94622a2ec42fec7f4a40364f087611
commit 498ac7454c94622a2ec42fec7f4a40364f087611
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: 7833 (new)
    version_fixed: 1.11.5
    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