summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 17:09:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 17:09:16 +0000
commite275cabc4f24658f1d07a497f55c996f73afcdc7 (patch)
treeb1036258e5f51e2173eaa1f7e801c6e327d8b625 /doc
parent91a49b38b8ae42d0d14b9c141dcd76c6c75d89f9 (diff)
downloadrtems-e275cabc4f24658f1d07a497f55c996f73afcdc7.tar.bz2
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)
Diffstat (limited to '')
-rw-r--r--doc/posix1003.1/Makefile.am16
-rw-r--r--doc/posix1003.1/posix1003_1.texi1
-rwxr-xr-xdoc/posix1003.1/summarize7
3 files changed, 11 insertions, 13 deletions
diff --git a/doc/posix1003.1/Makefile.am b/doc/posix1003.1/Makefile.am
index f36a0af20c..6147d3ceec 100644
--- a/doc/posix1003.1/Makefile.am
+++ b/doc/posix1003.1/Makefile.am
@@ -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
diff --git a/doc/posix1003.1/posix1003_1.texi b/doc/posix1003.1/posix1003_1.texi
index 28618d181c..9fb3da5a7a 100644
--- a/doc/posix1003.1/posix1003_1.texi
+++ b/doc/posix1003.1/posix1003_1.texi
@@ -1,4 +1,3 @@
-
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename posix1003_1
diff --git a/doc/posix1003.1/summarize b/doc/posix1003.1/summarize
index fc8631894a..a092b4a71c 100755
--- a/doc/posix1003.1/summarize
+++ b/doc/posix1003.1/summarize
@@ -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}