Commit b40c78a4 authored by Per Cederqvist's avatar Per Cederqvist

(check-doc): Create requests-numbered.tmp instead of

	numbered-requests.tmp.  Create asyncs-numbered.tmp.  Omit
	DEBUG_CALLS-only asynchronous messages from "async.h".
parent 5e81ddc6
# $Id: Makefile.am,v 1.23 2001/04/30 19:20:17 ceder Exp $
# $Id: Makefile.am,v 1.24 2001/04/30 21:48:08 ceder Exp $
# Copyright (C) 1998-1999 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -95,7 +95,7 @@ check-doc: Protocol-A.notab lyskomd.notab info
< $(top_srcdir)/src/server/fncdef.txt \
| awk '{print $$1, $$3}' \
| sed 's/_/-/g' \
| tee numbered-requests.tmp \
| tee requests-numbered.tmp \
| awk '{print $$2}' \
| tee requests.tmp \
| sed 's/.*/^@req{&}$$/' \
......@@ -106,10 +106,13 @@ check-doc: Protocol-A.notab lyskomd.notab info
< requests.tmp >> requests-@.tmp
# Create a list of all async messages.
sed -n -e '/#if 0/,/#endif/d' \
-e 's/[ ]*ay_\([^ ]*\) =.*/async_\1/p' \
sed -n -e '/^#if 0/,/^#endif/d' \
-e '/^#ifdef/,/^#endif/d' \
-e 's/[ ]*ay_\([^ ]*\) = \([0-9]*\).*/\2 async_\1/p' \
$(top_srcdir)/src/server/async.h \
| sed 's/_/-/g' \
| tee asyncs-numbered.tmp \
| awk '{print $$2}' \
| tee asyncs.tmp \
| sed 's/.*/^@async{&}$$/' \
> 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