summaryrefslogtreecommitdiffstats
path: root/doc/project.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-17 01:13:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-17 01:13:20 +0000
commit1c43eba5cce08fcfee0eac9a3120c361bcc6f532 (patch)
tree20120466479ab0275e527589af161268f58ec682 /doc/project.am
parent8611a37f758b1c314fc6d4adf498abe5ac6bc6e5 (diff)
downloadrtems-1c43eba5cce08fcfee0eac9a3120c361bcc6f532.tar.bz2
Patch rtemsdoc-4.5.0-rc-14-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> to address build problems effecting RedHat users but not SuSE users.
Diffstat (limited to 'doc/project.am')
-rw-r--r--doc/project.am26
1 files 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