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 endif
$(PROJECT).dvi: rtemspie.eps states.eps $(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).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 if USE_HTML
html_project_DATA += networkflow.jpg networkflow.png PCIreg.jpg recvbd.jpg html_project_DATA += networkflow.jpg networkflow.png PCIreg.jpg recvbd.jpg

View File

@@ -35,8 +35,11 @@ if TEXI2PDF
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2PDF) $< MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2PDF) $<
endif endif
$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
CLEANFILES += $(PROJECT).pdf CLEANFILES += $(PROJECT).pdf
MOSTLYCLEANFILES += $(PDF_IMAGES)
## HTML ## HTML
SUFFIXES += .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 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 if USE_HTML
html_project_DATA += $(JPEG_FILES) html_project_DATA += $(JPEG_FILES)
endif endif
@@ -74,10 +76,10 @@ conclusion.texi: conclusion.t
-n "" $< -n "" $<
noinst_DATA = \ noinst_DATA = \
layers.eps layers.pdf \ layers.eps \
process.eps process.pdf \ process.eps \
seqdetach.eps seqdetach.pdf \ seqdetach.eps \
seqbreak.eps seqbreak.pdf \ seqbreak.eps \
seqinit.eps seqinit.pdf seqinit.eps
EXTRA_DIST = *.t $(noinst_DATA) $(JPEG_FILES) EXTRA_DIST = *.t $(noinst_DATA) $(JPEG_FILES)

View File

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

View File

@@ -26,6 +26,12 @@ info_TEXINFOS = c_user.texi
c_user_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES) c_user_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
PNG_FILES = rtemsarc.png rtemspie.png states.png 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 if USE_HTML
html_project_DATA += $(PNG_FILES) html_project_DATA += $(PNG_FILES)
endif endif
@@ -151,7 +157,6 @@ mp.texi: mp.t
-n "Directive Status Codes" $< -n "Directive Status Codes" $<
noinst_DATA = \ noinst_DATA = \
states.gif states.eps \ states.gif rtemspie.gif
rtemspie.gif rtemspie.eps
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 @ifset use-tex
@c @page @c @page
@c @image{states,5in,4in}
@example @example
@group @image{states,,3in}
+-------------------------------------------------------------+ @c @group
| Non-existent | @c +-------------------------------------------------------------+
| +-------------------------------------------------------+ | @c | Non-existent |
| | | | @c | +-------------------------------------------------------+ |
| | | | @c | | | |
| | Creating +---------+ Deleting | | @c | | | |
| | -------------------> | Dormant | -------------------> | | @c | | Creating +---------+ Deleting | |
| | +---------+ | | @c | | -------------------> | Dormant | -------------------> | |
| | | | | @c | | +---------+ | |
| | Starting | | | @c | | | | |
| | | | | @c | | Starting | | |
| | V Deleting | | @c | | | | |
| | +-------> +-------+ -------------------> | | @c | | V Deleting | |
| | Yielding / +----- | Ready | ------+ | | @c | | +-------> +-------+ -------------------> | |
| | / / +-------+ <--+ \ | | @c | | Yielding / +----- | Ready | ------+ | |
| | / / \ \ Blocking | | @c | | / / +-------+ <--+ \ | |
| | / / Dispatching Readying \ \ | | @c | | / / \ \ Blocking | |
| | / V \ V | | @c | | / / Dispatching Readying \ \ | |
| | +-----------+ Blocking +---------+ | | @c | | / V \ V | |
| | | Executing | --------------> | Blocked | | | @c | | +-----------+ Blocking +---------+ | |
| | +-----------+ +---------+ | | @c | | | Executing | --------------> | Blocked | | |
| | | | @c | | +-----------+ +---------+ | |
| | | | @c | | | |
| +-------------------------------------------------------+ | @c | | | |
| Non-existent | @c | +-------------------------------------------------------+ |
+-------------------------------------------------------------+ @c | Non-existent |
@end group @c +-------------------------------------------------------------+
@c @end group
@end example @end example
@end ifset @end ifset