Patches rtemsdoc-4.5.0-rc.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>

that addresses the following:


  The patch below should
      * fix the *pdf cleanup handling
      * fix dependencies between pdf-documents and texi-files

  It also contains an attempt to let networking/schedule.t use states.pdf
  instead of ascii graphics, but though each pdf image looks nice, it
  comes out weirdly distorted in the main pdf document.
This commit is contained in:
Joel Sherrill
2000-04-26 18:05:33 +00:00
parent 2ba8875a0b
commit fdbfff1867
7 changed files with 50 additions and 40 deletions

View File

@@ -48,5 +48,5 @@ html_project_DATA += rtemsarc.png rtemspie.png states.png
endif
$(PROJECT).dvi: rtemspie.eps states.eps
$(PROJECT).pdf: rtemspie.pdf states.pdf
PDF_IMAGES = rtemspie.pdf states.pdf

View File

@@ -27,7 +27,7 @@ networking_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
$(PROJECT).dvi: networkflow.eps PCIreg.eps recvbd.eps
$(PROJECT).pdf: networkflow.pdf PCIreg.pdf recvbd.pdf
PDF_IMAGES = networkflow.pdf PCIreg.pdf recvbd.pdf
if USE_HTML
html_project_DATA += networkflow.jpg networkflow.png PCIreg.jpg recvbd.jpg

View File

@@ -35,8 +35,11 @@ if TEXI2PDF
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2PDF) $<
endif
$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
CLEANFILES += $(PROJECT).pdf
MOSTLYCLEANFILES += $(PDF_IMAGES)
## HTML
SUFFIXES += .html

View File

@@ -25,6 +25,8 @@ rgdb_specs_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
JPEG_FILES = layers.jpg process.jpg seqinit.jpg seqbreak.jpg seqdetach.jpg
PDF_IMAGES = layers.pdf process.pdf seqdetach.pdf seqbreak.pdf seqinit.pdf
if USE_HTML
html_project_DATA += $(JPEG_FILES)
endif
@@ -74,10 +76,10 @@ conclusion.texi: conclusion.t
-n "" $<
noinst_DATA = \
layers.eps layers.pdf \
process.eps process.pdf \
seqdetach.eps seqdetach.pdf \
seqbreak.eps seqbreak.pdf \
seqinit.eps seqinit.pdf
layers.eps \
process.eps \
seqdetach.eps \
seqbreak.eps \
seqinit.eps
EXTRA_DIST = *.t $(noinst_DATA) $(JPEG_FILES)

View File

@@ -3,7 +3,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
EXTRA_DIST = \
update word-replace
update word-replace word-replace2
SUBDIRS = \
bmenu \

View File

@@ -26,6 +26,12 @@ info_TEXINFOS = c_user.texi
c_user_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
PNG_FILES = rtemsarc.png rtemspie.png states.png
EPS_IMAGES = rtemspie.eps states.eps
$(PROJECT).dvi: $(EPS_IMAGES)
PDF_IMAGES = rtemspie.pdf states.pdf
if USE_HTML
html_project_DATA += $(PNG_FILES)
endif
@@ -151,7 +157,6 @@ mp.texi: mp.t
-n "Directive Status Codes" $<
noinst_DATA = \
states.gif states.eps \
rtemspie.gif rtemspie.eps
states.gif rtemspie.gif
EXTRA_DIST = *.t $(PNG_FILES) $(noinst_DATA)
EXTRA_DIST = *.t $(PNG_FILES) $(EPS_IMAGES) $(noinst_DATA)

View File

@@ -242,36 +242,36 @@ for other system resources.
@ifset use-tex
@c @page
@c @image{states,5in,4in}
@example
@group
+-------------------------------------------------------------+
| Non-existent |
| +-------------------------------------------------------+ |
| | | |
| | | |
| | Creating +---------+ Deleting | |
| | -------------------> | Dormant | -------------------> | |
| | +---------+ | |
| | | | |
| | Starting | | |
| | | | |
| | V Deleting | |
| | +-------> +-------+ -------------------> | |
| | Yielding / +----- | Ready | ------+ | |
| | / / +-------+ <--+ \ | |
| | / / \ \ Blocking | |
| | / / Dispatching Readying \ \ | |
| | / V \ V | |
| | +-----------+ Blocking +---------+ | |
| | | Executing | --------------> | Blocked | | |
| | +-----------+ +---------+ | |
| | | |
| | | |
| +-------------------------------------------------------+ |
| Non-existent |
+-------------------------------------------------------------+
@end group
@image{states,,3in}
@c @group
@c +-------------------------------------------------------------+
@c | Non-existent |
@c | +-------------------------------------------------------+ |
@c | | | |
@c | | | |
@c | | Creating +---------+ Deleting | |
@c | | -------------------> | Dormant | -------------------> | |
@c | | +---------+ | |
@c | | | | |
@c | | Starting | | |
@c | | | | |
@c | | V Deleting | |
@c | | +-------> +-------+ -------------------> | |
@c | | Yielding / +----- | Ready | ------+ | |
@c | | / / +-------+ <--+ \ | |
@c | | / / \ \ Blocking | |
@c | | / / Dispatching Readying \ \ | |
@c | | / V \ V | |
@c | | +-----------+ Blocking +---------+ | |
@c | | | Executing | --------------> | Blocked | | |
@c | | +-----------+ +---------+ | |
@c | | | |
@c | | | |
@c | +-------------------------------------------------------+ |
@c | Non-existent |
@c +-------------------------------------------------------------+
@c @end group
@end example
@end ifset