summaryrefslogtreecommitdiffstats
path: root/doc/new_chapters
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-01 17:44:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-01 17:44:06 +0000
commited11cadf052ee8886af0a11e9e72f3c09443f6af (patch)
tree86527bfc8fc7fc02aa8b32c268a79cfa201808cb /doc/new_chapters
parenta25f7028cb6ad0413e71d28fb250750a1f031c4e (diff)
downloadrtems-ed11cadf052ee8886af0a11e9e72f3c09443f6af.tar.bz2
Numerous minor changes required to transition to the latest version
of texinfo and TeX. This version of the tools can produce PDF with figures included.
Diffstat (limited to 'doc/new_chapters')
-rw-r--r--doc/new_chapters/Makefile9
-rw-r--r--doc/new_chapters/new_chapters.texi2
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/new_chapters/Makefile b/doc/new_chapters/Makefile
index eea5a0ff5c..fca4a69407 100644
--- a/doc/new_chapters/Makefile
+++ b/doc/new_chapters/Makefile
@@ -10,7 +10,7 @@ PROJECT=new_chapters
include ../Make.config
-all: html info ps
+all: html info ps pdf
dirs:
$(make-dirs)
@@ -36,6 +36,11 @@ $(PROJECT): $(FILES)
dvi: $(PROJECT).dvi
ps: dirs $(PROJECT).ps
+pdf: dirs $(PROJECT).pdf
+
+$(PROJECT).pdf: $(FILES)
+ $(TEXI2PDF) $(PROJECT).texi
+ cp $(PROJECT).pdf $(PDF_INSTALL)
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
@@ -51,7 +56,7 @@ html: dirs $(FILES)
$(PROJECT).texi
clean:
- rm -f *.o $(PROG) *.txt core *.html
+ rm -f *.o $(PROG) *.txt core *.html *.pdf
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT) $(PROJECT)-* _* $(GENERATED_FILES)
diff --git a/doc/new_chapters/new_chapters.texi b/doc/new_chapters/new_chapters.texi
index 6c0ea48478..ac9e0176a6 100644
--- a/doc/new_chapters/new_chapters.texi
+++ b/doc/new_chapters/new_chapters.texi
@@ -1,4 +1,4 @@
-\input ../texinfo/texinfo @c -*-texinfo-*-
+\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename new_chapters
@syncodeindex vr fn