Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
7ec6f0a0
Commit
7ec6f0a0
authored
Jan 01, 2002
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(check): Create privbits.tmp. Check @priv{} usage. (Bug 207).
parent
fa8f0ca8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
doc/Makefile.am
doc/Makefile.am
+11
-3
No files found.
doc/Makefile.am
View file @
7ec6f0a0
# $Id: Makefile.am,v 1.3
8
200
1/12/31 22:41:04
ceder Exp $
# $Id: Makefile.am,v 1.3
9
200
2/01/01 10:34:18
ceder Exp $
# Copyright (C) 1998-1999, 2001 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
...
...
@@ -192,6 +192,15 @@ check-doc: Protocol-A.notab lyskomd.notab info
|
sed
's/.*/^@errorcode{&}$$/'
\
>
errorcodes-@.tmp
## Create a list of all privilege bits.
tac
$(top_srcdir)/src/include/kom-types.h
\
|
sed
-n
-e
'/} Priv_bits;/,/typedef[ ]struct/!d'
\
-e
's/_/-/g'
\
-e 's/.* int[ ]\([---a-z0-9]*\)[ ]*
:
.*/
\1
/p'
\
| tee privbits.tmp
\
| sed 's/.*/^@priv{&}$$/'
\
> privbits-@.tmp
## Create a list of all @x{}-constructs used.
sed
-e
'/@bye/,$$d'
\
-e
'/^@c /d'
\
...
...
@@ -214,7 +223,6 @@ check-doc: Protocol-A.notab lyskomd.notab info
## constructs are checked by makeinfo, so we ignore them as
## well. @t{} are not interresting.
## FIXME (bug 206): @field{} should be checked.
## FIXME (bug 207): @priv{} should be checked.
cat
constructs.tmp
\
|
grep
-v
'@rarg{'
\
|
grep
-v
'@aarg{'
\
...
...
@@ -224,7 +232,6 @@ check-doc: Protocol-A.notab lyskomd.notab info
|
grep
-v
'@t{'
\
|
grep
-v
'@footnote{'
\
|
grep
-v
'@field{'
\
|
grep
-v
'@priv{'
\
|
grep
-v
'@anchor{'
\
|
grep
-v
'@lt{'
\
|
grep
-v
\
...
...
@@ -235,6 +242,7 @@ check-doc: Protocol-A.notab lyskomd.notab info
-f
miscs-@.tmp
\
-f
conftypes-@.tmp
\
-f
errorcodes-@.tmp
\
-f
privbits-@.tmp
\
>
constructs-@.tmp
## If the diff command below finds any differences, you have to
## check that they are expected, and then manually update
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment