aboutsummaryrefslogtreecommitdiff
path: root/bfd/doc
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1991-10-04 23:44:08 +0000
committerRoland Pesch <pesch@cygnus>1991-10-04 23:44:08 +0000
commit9393e96e0d544718341af972652be063afcbcb07 (patch)
treea8f20ebea2548d88c7df59087c219da5c1920744 /bfd/doc
parent49b10446f95d1cc9a92dd742251b7e8658b21f03 (diff)
downloadgdb-9393e96e0d544718341af972652be063afcbcb07.zip
gdb-9393e96e0d544718341af972652be063afcbcb07.tar.gz
gdb-9393e96e0d544718341af972652be063afcbcb07.tar.bz2
Specify TEXINPUTS when calling TeX so right texinfo.tex is used.
Diffstat (limited to 'bfd/doc')
-rwxr-xr-xbfd/doc/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/bfd/doc/Makefile b/bfd/doc/Makefile
index bb0cbec..93afc6d 100755
--- a/bfd/doc/Makefile
+++ b/bfd/doc/Makefile
@@ -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