[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
no TABs in .texi files (was: more M4sh documentation)
From: |
Ralf Wildenhues |
Subject: |
no TABs in .texi files (was: more M4sh documentation) |
Date: |
Fri, 24 Mar 2006 19:17:17 +0100 |
User-agent: |
Mutt/1.5.9i |
Hi Paul,
Addressing only this point in this post:
* Paul Eggert wrote on Wed, Mar 22, 2006 at 10:30:45PM CET:
> Ralf Wildenhues <address@hidden> writes:
>
> > Other issues fixed in this version: do not use TABs in .texi files
> > (could that be checked, say, in Makefile.maint?)
>
> I don't see why not.
Good (assuming your comment applies to the parenthesized part).
OK to apply this? Since this file is shared, do I have to notify
other people before committing?
Cheers,
Ralf
* Makefile.maint (sc_texi_notab): New check: do not use TABs
in texinfo files.
(syntax-check-rules): Update.
* doc/autoconf.texi (Configuration Headers): Conform to it.
Index: Makefile.maint
===================================================================
RCS file: /cvsroot/autoconf/autoconf/Makefile.maint,v
retrieving revision 1.33
diff -u -r1.33 Makefile.maint
--- Makefile.maint 6 Jan 2006 00:02:26 -0000 1.33
+++ Makefile.maint 24 Mar 2006 18:18:08 -0000
@@ -103,7 +103,8 @@
sc_system_h_headers \
sc_tight_scope \
sc_trailing_space \
- sc_unmarked_diagnostics
+ sc_unmarked_diagnostics \
+ sc_texi_notab
syntax-check: $(syntax-check-rules)
# @grep -nE '# *include <(limits|std(def|arg|bool))\.h>' \
@@ -173,6 +174,12 @@
# FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ
+# Do not use TABs in .texi files.
+sc_texi_notab:
+ @grep '[ ]' $(srcdir)/doc/*texi && \
+ { echo '$(ME): Do not use TABs in .texi files' \
+ 1>&2; exit 1; } || :
+
# Each nonempty line must start with a year number, or a TAB.
sc_changelog:
@grep -n '^[^12 ]' $$(find . -maxdepth 2 -name ChangeLog) && \
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.971
diff -u -r1.971 autoconf.texi
--- doc/autoconf.texi 21 Mar 2006 21:51:07 -0000 1.971
+++ doc/autoconf.texi 24 Mar 2006 18:18:09 -0000
@@ -2757,7 +2757,7 @@
@example
AC_CONFIG_COMMANDS_PRE(
- [m4_ifndef([AH_HEADER], [AC_CONFIG_HEADERS([config.h])])])
+ [m4_ifndef([AH_HEADER], [AC_CONFIG_HEADERS([config.h])])])
@end example
@end defmac
- Re: more M4sh documentation, (continued)
- Re: more M4sh documentation, Paul Eggert, 2006/03/22
- Re: more M4sh documentation, Stepan Kasal, 2006/03/22
- Re: more M4sh documentation, Paul Eggert, 2006/03/22
- Re: more M4sh documentation, Stepan Kasal, 2006/03/27
- no TABs in .texi files (was: more M4sh documentation),
Ralf Wildenhues <=
- Re: no TABs in .texi files, Paul Eggert, 2006/03/27
- Re: no TABs in .texi files, Ralf Wildenhues, 2006/03/28
- Re: no TABs in .texi files, Paul Eggert, 2006/03/30
- Re: no TABs in .texi files, Ralf Wildenhues, 2006/03/30