From 1c43eba5cce08fcfee0eac9a3120c361bcc6f532 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 17 Jun 2000 01:13:20 +0000 Subject: Patch rtemsdoc-4.5.0-rc-14-cvs.diff from Ralf Corsepius to address build problems effecting RedHat users but not SuSE users. --- doc/project.am | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/doc/project.am b/doc/project.am index e74e55f1f3..3bb32a5b8f 100644 --- a/doc/project.am +++ b/doc/project.am @@ -4,7 +4,7 @@ SUFFIXES += .t ## Texinfo support TEXINFO_TEX = ../texinfo/texinfo.tex -TEXINPUTS = $(srcdir):$(top_srcdir) +## TEXINPUTS = $(srcdir):$(top_srcdir) TEXI_COMMON = -I .. .texi: @@ -47,13 +47,6 @@ if EPSTOPDF $(EPSTOPDF) $< --outfile=$@ endif -if TEXI2PDF -.texi.pdf: - TEXINPUTS=$(srcdir)/$(top_srcdir)/texinfo:$$TEXINPUTS \ - MAKEINFO='$(MAKEINFO)' \ - $(TEXI2PDF) $< -endif - $(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES) CLEANFILES += $(PROJECT).pdf @@ -95,12 +88,25 @@ endif if USE_DVI dvi_DATA += $(PROJECT).dvi -endif + +.texi.dvi: + $(TEXI2DVI) -I $(srcdir) -I $(top_srcdir) $< if USE_PS ps_DATA += $(PROJECT).ps -endif +.dvi.ps: + TEXINPUTS=$(srcdir):$$TEXINPUTS \ + $(DVIPS) $< -o $@ +endif # USE_PS + +endif # USE_DVI if USE_PDF pdf_DATA += $(PROJECT).pdf + +if TEXI2PDF +.texi.pdf: + $(TEXI2PDF) -I $(srcdir) -I $(top_srcdir) $< +endif + endif -- cgit v1.2.3