Commit c54322f8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(check-doc): Handle the "Client-specific Aux-Item Types" appendix.

parent 9653910b
# $Id: Makefile.am,v 1.49 2002/08/17 18:45:43 ceder Exp $
# $Id: Makefile.am,v 1.50 2002/08/21 22:50:55 ceder Exp $
# Copyright (C) 1998-1999, 2001-2002 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -137,8 +137,24 @@ check-doc: Protocol-A.notab lyskomd.notab info
$(top_srcdir)/run-support/aux-items.conf \
| tee aux-items.tmp \
| sed 's/.*/@aux{&}/' \
| LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C sort \
> aux-items-@.tmp
## Create a list of client-specific aux items.
sed -n '/^@c BEGIN-EXTRA-AUX$$/,/^@c END-EXTRA-AUX$$/s/^@item \(.*\) \[[0-9]*\] (.*)$$/@aux{\1}/p' \
< $(srcdir)/Protocol-A.texi \
| LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C sort \
> aux-items-extra-@.tmp
## Check for any overlap between the aux-item lists.
python $(srcdir)/filterlines.py aux-items-extra-@.tmp \
< aux-items-@.tmp \
| diff -u aux-items-@.tmp -
python $(srcdir)/filterlines.py aux-items-@.tmp \
< aux-items-extra-@.tmp \
| diff -c aux-items-extra-@.tmp -
## Create a list of all requests.
sed -e '/^#ifdef/,/^#endif/d' \
-e '/^#/d' \
......@@ -280,6 +296,7 @@ check-doc: Protocol-A.notab lyskomd.notab info
| grep -v '@lt{' \
| python $(srcdir)/filterlines.py \
aux-items-@.tmp \
aux-items-extra-@.tmp \
requests-@.tmp \
types-@.tmp \
async-@.tmp \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment