Specify TEXINPUTS when calling TeX so right texinfo.tex is used.
authorRoland Pesch <pesch@cygnus>
Fri, 4 Oct 1991 23:44:08 +0000 (23:44 +0000)
committerRoland Pesch <pesch@cygnus>
Fri, 4 Oct 1991 23:44:08 +0000 (23:44 +0000)
bfd/doc/Makefile

index bb0cbec6f9eab6da3f081a5d7722d7e78b4e95df..93afc6d247fb825830d3ef862285b6b40c1453bf 100755 (executable)
@@ -15,6 +15,10 @@ VPATH=..
 .c.ip:
        scanph -i $< $@
 
+# main GDB source directory
+srcdir = ..
+
+TEXIDIR=${srcdir}/../texinfo/fsf
 
 DOCFILES = aoutx.texi  archive.texi archures.texi \
        bfd.texi  cache.texi coffcode.texi \
@@ -67,12 +71,12 @@ bfd.info: $(DOCFILES) bfd.texinfo
        makeinfo +no-validate bfd.texinfo
 
 bfd.dvi: $(DOCFILES) bfd.texinfo
-       tex bfd.texinfo
+       TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
        texindex bfd.??
-       tex bfd.texinfo
+       TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo
 
 bfd.ps: bfd.dvi
        dvips bfd -o
        
-quickdoc: $(DSRC) docs
-       tex bfd.texinfo
+quickdoc: $(DOCFILES) bfd.texinfo
+       TEXINPUTS=${TEXIDIR}:.:$$TEXINPUTS tex bfd.texinfo