Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
ac7a2ec9
Commit
ac7a2ec9
authored
Sep 23, 2001
by
Per Cederqvist
Browse files
Stop complaints from automake by using "##" instead of "#" as comment
leader in commands.
parent
c54991a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/Makefile.am
View file @
ac7a2ec9
# $Id: Makefile.am,v 1.
29
2001/0
5
/2
2 22:19:28
ceder Exp $
# $Id: Makefile.am,v 1.
30
2001/0
9
/2
3 16:20:19
ceder Exp $
# Copyright (C) 1998-1999 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
...
...
@@ -79,8 +79,8 @@ update-www: protocol-a.info protocol-a.html # Protocol-A.dvi Protocol-A.pdf
echo
Protocol-A-
$(PROTOEDITION)
-info
.tar|
(
cd
$(WWWROOT)
&&
xargs
gzip
-9
)
cp
$(srcdir)
/Protocol-A.texi
$(WWWROOT)
/Protocol-A-
$(PROTOEDITION)
.texi
rm
-r
Protocol-A-
$(PROTOEDITION)
-info
# cp Protocol-A.dvi
$(WWWROOT)
/Protocol-A-
$(PROTOEDITION)
.dvi
# cp Protocol-A.pdf
$(WWWROOT)
/Protocol-A-
$(PROTOEDITION)
.pdf
#
#
cp Protocol-A.dvi
$(WWWROOT)
/Protocol-A-
$(PROTOEDITION)
.dvi
#
#
cp Protocol-A.pdf
$(WWWROOT)
/Protocol-A-
$(PROTOEDITION)
.pdf
ln
-s
../Protocol-A-
$(PROTOEDITION)
.texi
$(WWWREV)
/Protocol-A.texi
cp
protocol-a.html
$(WWWREV)
/protocol-a.html
echo
"Don't forget to edit
$(WWWROOT)
/index.html"
...
...
@@ -91,14 +91,14 @@ Protocol-A.pdf: Protocol-A.texi
check
:
check-doc
check-doc
:
Protocol-A.notab lyskomd.notab info
# Create a list of all aux-items.
#
#
Create a list of all aux-items.
sed
-n
's/[0-9][0-9]* : \([^ ]*\) (.*/\1/p'
\
$(top_srcdir)
/run-support/aux-items.conf
\
|
tee
aux-items.tmp
\
|
sed
's/.*/^@aux{&}$$/'
\
>
aux-items-@.tmp
# Create a list of all requests.
#
#
Create a list of all requests.
sed
-e
'/^#ifdef/,/^#endif/d'
\
-e
'/^#/d'
\
-e
'/^$$/d'
\
...
...
@@ -115,7 +115,7 @@ check-doc: Protocol-A.notab lyskomd.notab info
sed
's/.*/^@reqdlink{&}$$/'
\
<
requests.tmp
>>
requests-@.tmp
# Create a list of all async messages.
#
#
Create a list of all async messages.
sed
-n
-e
'/^#if 0/,/^#endif/d'
\
-e
'/^#ifdef/,/^#endif/d'
\
-e
's/[ ]*ay_\([^ ]*\) = \([0-9]*\).*/\2 async_\1/p'
\
...
...
@@ -131,7 +131,7 @@ check-doc: Protocol-A.notab lyskomd.notab info
sed
's/.*/^@asyncdlink{&}$$/'
\
<
asyncs.tmp
>>
async-@.tmp
# Create a list of all miscinfos.
#
#
Create a list of all miscinfos.
tac
$(top_srcdir)/src/include/kom-types.h
\
|
sed
-e
'/} Info_type/,/typedef/!d'
\
|
sed
-n
-e
's/[ ]*\([^ ]*\)[ ][ ]*=.*/\1/p'
\
...
...
@@ -141,7 +141,7 @@ check-doc: Protocol-A.notab lyskomd.notab info
|
sed
's/.*/^@misc{&}$$/'
\
>
miscs-@.tmp
# Create a list of all conf-type bits.
#
#
Create a list of all conf-type bits.
tac
$(top_srcdir)/src/include/kom-types.h
\
|
sed
-e
'/} Conf_type/,/typedef/!d'
\
| sed -n -e 's/.*unsigned int[ ]*\([^
:
]*
\)
[ ]*:.*/
\1
/p'
\
...
...
@@ -153,15 +153,15 @@ check-doc: Protocol-A.notab lyskomd.notab info
| 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.
#
#
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.
sed
-n
's/@tindex //p'
<
$(srcdir)/Protocol-A.texi
\
|
tee
types.tmp
\
|
sed
's/.*/^@type{&}$$/'
\
>
types-@.tmp
# Create a list of all @x{}-constructs used.
#
#
Create a list of all @x{}-constructs used.
sed
-e
'/@bye/,$$d'
\
-e
'/^@c /d'
\
-e
'/^@c$$/d'
\
...
...
@@ -178,13 +178,13 @@ check-doc: Protocol-A.notab lyskomd.notab info
|
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
# well. @t{} are not interresting.
# FIXME: @errocode{} should be checked.
# FIXME: @field{} should be checked.
# FIXME: @priv{} should be checked.
#
#
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
#
#
well. @t{} are not interresting.
#
#
FIXME: @errocode{} should be checked.
#
#
FIXME: @field{} should be checked.
#
#
FIXME: @priv{} should be checked.
cat
constructs.tmp
\
|
grep
-v
'@rarg{'
\
|
grep
-v
'@aarg{'
\
...
...
@@ -206,12 +206,12 @@ check-doc: Protocol-A.notab lyskomd.notab info
-f
miscs-@.tmp
\
-f
conftypes-@.tmp
\
>
constructs-@.tmp
# If the diff command below finds any differences, you have to
# check that they are expected, and then manually update
# constructs.expected. Please be careful when you examine the
# diff.
#
#
If the diff command below finds any differences, you have to
#
#
check that they are expected, and then manually update
#
#
constructs.expected. Please be careful when you examine the
#
#
diff.
diff
-u
$(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.
#
#
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
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