Commit 855e0c9d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(check-doc): Don't have blank lines among the commands, since make on

	IRIX chokes on them.
parent 77b6c7f9
# $Id: Makefile.am,v 1.61 2003/08/29 12:37:16 ceder Exp $
# $Id: Makefile.am,v 1.62 2003/10/06 08:28:18 ceder Exp $
# Copyright (C) 1998-1999, 2001-2002 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -147,22 +147,22 @@ if HAVE_PYTHON
| 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 -c 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' \
......@@ -179,7 +179,7 @@ if HAVE_PYTHON
< requests.tmp >> requests-@.tmp
sed 's/.*/@reqdlink{&}/' \
< requests.tmp >> requests-@.tmp
##
## Create a list of all async messages.
sed -n -e '/^#if 0/,/^#endif/d' \
-e '/^#ifdef/,/^#endif/d' \
......@@ -195,7 +195,7 @@ if HAVE_PYTHON
< asyncs.tmp >> async-@.tmp
sed 's/.*/@asyncdlink{&}/' \
< asyncs.tmp >> async-@.tmp
##
## Create a list of all miscinfos.
cat $(top_srcdir)/src/include/kom-types.h \
| sed -e '/^enum info_type {/,/};/!d' \
......@@ -207,7 +207,7 @@ if HAVE_PYTHON
| tee miscs.tmp \
| sed 's/.*/@misc{&}/' \
> miscs-@.tmp
##
## Create a list of all conf-type bits.
$(PYTHON) $(srcdir)/tac.py < $(top_srcdir)/src/include/kom-types.h \
| sed -e '/} Conf_type/,/typedef/!d' \
......@@ -218,7 +218,7 @@ if HAVE_PYTHON
| tee conftypes.tmp \
| sed 's/.*/@conftype{&}/' \
> conftypes-@.tmp
##
## Create a list of all types. We do this from the
## documentation, and not the source, since the source has its
## own funny names in a few places.
......@@ -226,7 +226,7 @@ if HAVE_PYTHON
| tee types.tmp \
| sed 's/.*/@type{&}/' \
> types-@.tmp
##
## Create a list of all error codes.
cat $(top_srcdir)/src/include/kom-errno.h \
| sed -n -e '/enum kom_err/,/};/!d' \
......@@ -260,7 +260,7 @@ if HAVE_PYTHON
| tee errorcodes.tmp \
| sed 's/.*/@errorcode{&}/' \
> errorcodes-@.tmp
##
## Create a list of all privilege bits.
$(PYTHON) $(srcdir)/tac.py < $(top_srcdir)/src/include/kom-types.h \
| sed -n -e '/} Priv_bits;/,/typedef[ ]struct/!d' \
......@@ -269,7 +269,7 @@ if HAVE_PYTHON
| tee privbits.tmp \
| sed 's/.*/@priv{&}/' \
> privbits-@.tmp
##
## Create a list of all @x{}-constructs used.
sed -e '/@bye/,$$d' \
-e '/^@c /d' \
......@@ -286,7 +286,7 @@ if HAVE_PYTHON
| LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C sort \
| LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C uniq \
> constructs.tmp
##
## Remove the expected stuff. @rarg{} and @aarg{} constructs
## are checked below, so ignore them here. Various @ref
## constructs are checked by makeinfo, so we ignore them as
......@@ -318,7 +318,7 @@ if HAVE_PYTHON
## constructs.expected. Please be careful when you examine the
## diff.
diff -c $(srcdir)/constructs.expected constructs-@.tmp
##
## Check @rarg{} and @aarg{} constructs. They are only allowed
## to refer to named arguments of the call they are documenting.
$(PYTHON) $(srcdir)/checkargs.py $(srcdir)/Protocol-A.texi
......
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