Patch rtemsdoc-4.5.0-rc-12-cvs.diff from Ralf Corsepius

<corsepiu@faw.uni-ulm.de> that makes the following changes:

  * Don't use a temporary file for ch19.texi anymore
  * pass all files to be handled by summarize as commandline arguments
  * Remove a dangling empty first line in posix1003_1.texi (texi2html
    (!) expects \input texinfo on the first line)
This commit is contained in:
Joel Sherrill
2000-06-12 17:09:16 +00:00
parent 91a49b38b8
commit e275cabc4f
3 changed files with 11 additions and 13 deletions

View File

@@ -15,8 +15,7 @@ include $(top_srcdir)/project.am
GENERATED_FILES = ch01.texi ch02.texi ch03.texi ch04.texi ch05.texi \
ch06.texi ch07.texi ch08.texi ch09.texi ch10.texi ch11.texi ch12.texi \
ch13.texi ch14.texi ch15.texi ch16.texi ch17.texi ch18.texi ch19.t \
ch19.texi
ch13.texi ch14.texi ch15.texi ch16.texi ch17.texi ch18.texi ch19.texi
COMMON_FILES = $(top_srcdir)/common/setup.texi \
$(top_srcdir)/common/cpright.texi
@@ -116,18 +115,15 @@ $(srcdir)/ch18.texi: ch18.t
-u "Top" \
-n "Compliance Summary" < $< > $@
$(srcdir)/ch19.t: ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t \
ch09.t ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t \
summarize
(cd $(srcdir) && ./summarize > $@)
$(srcdir)/ch19.texi: ch19.t
$(srcdir)/ch19.texi: ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t \
ch09.t ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t
$(srcdir)/summarize $^ | \
$(BMENU2) -c -p "List of Cancellation Points" \
-u "Top" \
-n "Command and Variable Index" < $< > $@
-n "Command and Variable Index" > $@
noinst_SCRIPTS = summarize
EXTRA_DIST = ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t ch09.t \
ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t ch19.t \
ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t \
compliance_list summarize

View File

@@ -1,4 +1,3 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename posix1003_1

View File

@@ -182,8 +182,11 @@ summarize_chapter()
fi
}
chapters="ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t \
ch09.t ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t"
if test $# -lt 1; then
echo "Missing arguments"
exit 1
fi
chapters="$*"
# go through the chapters one at a time
for chapter in ${chapters}