automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: untabify manual


From: Alexandre Duret-Lutz
Subject: FYI: untabify manual
Date: Mon, 25 Oct 2004 21:01:17 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Installed on HEAD and branch-1-9.

2004-10-25  Alexandre Duret-Lutz  <address@hidden>

        * doc/automake.texi: Untabify, tabs in the examples are poorly
        rendered.
        * Makefile.am (maintainer-check): Grep tabs in the manual.

Index: Makefile.am
===================================================================
RCS file: /cvs/automake/automake/Makefile.am,v
retrieving revision 1.233
diff -u -r1.233 Makefile.am
--- Makefile.am 13 May 2004 20:09:06 -0000      1.233
+++ Makefile.am 25 Oct 2004 18:59:02 -0000
@@ -258,6 +258,10 @@
          echo 'Suspicious unquoted DESTDIR uses.' 1>&2 ; \
          exit 1; \
        fi
+       @if grep '      ' $(srcdir)/doc/automake.texi; then \
+         echo 'Do not use tabs in the manual.' 1>&2; \
+         exit 1; \
+       fi
 
 
 cvs-dist: maintainer-check
Index: doc/automake.texi
===================================================================
RCS file: /cvs/automake/automake/doc/automake.texi,v
retrieving revision 1.44.2.14
diff -u -r1.44.2.14 automake.texi
--- doc/automake.texi   22 Oct 2004 20:00:27 -0000      1.44.2.14
+++ doc/automake.texi   25 Oct 2004 18:59:03 -0000
@@ -34,7 +34,7 @@
 
 @dircategory Software development
 @direntry
-* automake: (automake).                Making Makefile.in's.
+* automake: (automake).         Making Makefile.in's.
 @end direntry
 
 @dircategory Individual utilities
@@ -3833,44 +3833,44 @@
 
 We recommend using the following renaming hack used in @code{gdb}:
 @example
-#define        yymaxdepth c_maxdepth
-#define        yyparse c_parse
-#define        yylex   c_lex
-#define        yyerror c_error
-#define        yylval  c_lval
-#define        yychar  c_char
-#define        yydebug c_debug
-#define        yypact  c_pact
-#define        yyr1    c_r1
-#define        yyr2    c_r2
-#define        yydef   c_def
-#define        yychk   c_chk
-#define        yypgo   c_pgo
-#define        yyact   c_act
-#define        yyexca  c_exca
+#define yymaxdepth c_maxdepth
+#define yyparse c_parse
+#define yylex   c_lex
+#define yyerror c_error
+#define yylval  c_lval
+#define yychar  c_char
+#define yydebug c_debug
+#define yypact  c_pact
+#define yyr1    c_r1
+#define yyr2    c_r2
+#define yydef   c_def
+#define yychk   c_chk
+#define yypgo   c_pgo
+#define yyact   c_act
+#define yyexca  c_exca
 #define yyerrflag c_errflag
-#define yynerrs        c_nerrs
-#define        yyps    c_ps
-#define        yypv    c_pv
-#define        yys     c_s
-#define        yy_yys  c_yys
-#define        yystate c_state
-#define        yytmp   c_tmp
-#define        yyv     c_v
-#define        yy_yyv  c_yyv
-#define        yyval   c_val
-#define        yylloc  c_lloc
-#define yyreds c_reds
-#define yytoks c_toks
-#define yylhs  c_yylhs
-#define yylen  c_yylen
+#define yynerrs c_nerrs
+#define yyps    c_ps
+#define yypv    c_pv
+#define yys     c_s
+#define yy_yys  c_yys
+#define yystate c_state
+#define yytmp   c_tmp
+#define yyv     c_v
+#define yy_yyv  c_yyv
+#define yyval   c_val
+#define yylloc  c_lloc
+#define yyreds  c_reds
+#define yytoks  c_toks
+#define yylhs   c_yylhs
+#define yylen   c_yylen
 #define yydefred c_yydefred
-#define yydgoto        c_yydgoto
+#define yydgoto c_yydgoto
 #define yysindex c_yysindex
 #define yyrindex c_yyrindex
 #define yygindex c_yygindex
-#define yytable         c_yytable
-#define yycheck         c_yycheck
+#define yytable  c_yytable
+#define yycheck  c_yycheck
 #define yyname   c_yyname
 #define yyrule   c_yyrule
 @end example
@@ -5711,7 +5711,7 @@
 EXTRA_DIST = doc
 
 dist-hook:
-       rm -rf `find $(distdir)/doc -name CVS`
+        rm -rf `find $(distdir)/doc -name CVS`
 @end example
 
 @vindex distdir
@@ -7565,7 +7565,7 @@
 dist_man_MANS = foo.1
 
 foo.1: foo$(EXEEXT)
-       help2man --output=foo.1 ./foo$(EXEEXT)
+        help2man --output=foo.1 ./foo$(EXEEXT)
 @end example
 
 This will effectively distribute the man page.  However,
@@ -7605,7 +7605,7 @@
 
 foo.1: foo.c $(top_srcdir)/configure.ac
         $(MAKE) $(AM_MAKEFLAGS) foo$(EXEEXT)
-       help2man --output=foo.1 ./foo$(EXEEXT)
+        help2man --output=foo.1 ./foo$(EXEEXT)
 @end example
 
 This way, @file{foo.1} will not get rebuilt every time
-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]