Files
rtems/doc/project.am
Joel Sherrill fdbfff1867 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.
2000-04-26 18:05:33 +00:00

76 lines
1.5 KiB
Plaintext

## $Id$
SUFFIXES += .t
## Texinfo support
TEXINFO_TEX = $(top_srcdir)/texinfo/texinfo.tex
MAINTAINERCLEANFILES += $(PROJECT) $(PROJECT)-[0-9] $(PROJECT)-[0-9][0-9]
MAINTAINERCLEANFILES += $(GENERATED_FILES)
## DVI support
dvidir = $(pkgdatadir)/dvi
## dvi_projectdir = $(dvidir)/$(PROJECT)
## PS support
psdir = $(pkgdatadir)/ps
## ps_projectdir = $(psdir)/$(PROJECT)
## PDF support
SUFFIXES += .pdf
pdfdir = $(pkgdatadir)/pdf
## pdf_projectdir = $(pdfdir)/$(PROJECT)
SUFFIXES += .eps
if EPSTOPDF
.eps.pdf:
$(EPSTOPDF) $< > $@
endif
if TEXI2PDF
.texi.pdf:
TEXINPUTS=$(srcdir)/$(top_srcdir)/texinfo:$$TEXINPUTS \
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2PDF) $<
endif
$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
CLEANFILES += $(PROJECT).pdf
MOSTLYCLEANFILES += $(PDF_IMAGES)
## HTML
SUFFIXES += .html
html_projectdir = $(htmldir)/$(PROJECT)
TEXI2WWW_ARGS=\
-dirfile ../index.html \
-header $(top_builddir)/rtems_header.html \
-footer $(top_builddir)/rtems_footer.html \
-icons ../images
index.html $(PROJECT)*.html: $(PROJECT).texi \
$(top_builddir)/rtems_header.html $(top_builddir)/rtems_footer.html
$(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
MOSTLYCLEANFILES += index.html $(PROJECT)*.html
## Common installation points
if USE_HTML
html_project_DATA += index.html $(PROJECT)*.html
endif
if USE_DVI
dvi_DATA += $(PROJECT).dvi
endif
if USE_PS
ps_DATA += $(PROJECT).ps
endif
if USE_PDF
pdf_DATA += $(PROJECT).pdf
endif