mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
* Makefile.maint (sc_texi_notab): New check: do not use TABs
in texinfo files outside of verbatim environments. (syntax-check-rules): Update. * doc/autoconf.texi (Configuration Headers): Conform to it.
This commit is contained in:
parent
f7bcf2bf78
commit
28cc41f69a
@ -1,3 +1,10 @@
|
||||
2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* Makefile.maint (sc_texi_notab): New check: do not use TABs
|
||||
in texinfo files outside of verbatim environments.
|
||||
(syntax-check-rules): Update.
|
||||
* doc/autoconf.texi (Configuration Headers): Conform to it.
|
||||
|
||||
2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
|
||||
|
||||
* doc/autoconf.texi (autoreconf Invocation): Mention that -I for
|
||||
|
@ -103,7 +103,8 @@ syntax-check-rules = \
|
||||
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>' \
|
||||
@ -166,13 +167,21 @@ sc_file_system:
|
||||
exit 1; } || :
|
||||
|
||||
sc_obsolete_symbols:
|
||||
@grep -nE '\<(HAVE_''FCNTL_H)\>' \
|
||||
@grep -nE '\<(HAVE_''FCNTL_H)\>' \
|
||||
$$($(CVS_LIST_EXCEPT)) && \
|
||||
{ echo '$(ME): do not use HAVE_''FCNTL_H' \
|
||||
1>&2; exit 1; } || :
|
||||
|
||||
# FIXME: warn about definitions of EXIT_FAILURE, EXIT_SUCCESS, STREQ
|
||||
|
||||
# Do not use TABs in .texi files, except in verbatim environments.
|
||||
sc_texi_notab:
|
||||
@sed '/^@verbatim/,/^@end verbatim/d' /dev/null \
|
||||
$$($(CVS_LIST_EXCEPT) | grep -E '\.(texi|txi|texinfo)$$' ) \
|
||||
| grep '[ ]' && \
|
||||
{ echo '$(ME): Do not use TABs in texinfo files outside of @verbatim' \
|
||||
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) && \
|
||||
|
@ -2761,7 +2761,7 @@ without invoking AC_CONFIG_HEADERS twice, like this:
|
||||
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user