Commit 013901a0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

check): Create miscs-numbered.tmp based on the contents of kom-types.h.

parent 26f7c40a
# $Id: Makefile.am,v 1.35 2001/12/28 19:05:17 ceder Exp $
# $Id: Makefile.am,v 1.36 2001/12/31 21:46:29 ceder Exp $
# Copyright (C) 1998-1999, 2001 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -130,9 +130,11 @@ check-doc: Protocol-A.notab lyskomd.notab info
## Create a list of all miscinfos.
cat $(top_srcdir)/src/include/kom-types.h \
| sed -e '/^enum info_type {/,/};/!d' \
| sed -n -e 's/[ ]*\([^ ]*\)[ ][ ]*=.*/\1/p' \
| sed -n -e 's/ *\([^ ]*\)[ ]*= *\([0-9]*\),.*/\2 \1/p' \
| sed 's/_/-/g' \
| grep -v unknown-info \
| tee miscs-numbered.tmp \
| sed 's/[0-9]* //' \
| tee miscs.tmp \
| sed 's/.*/^@misc{&}$$/' \
> miscs-@.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