summaryrefslogtreecommitdiff
path: root/texinfos.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-08-14 04:27:38 +0000
committerTom Tromey <tromey@redhat.com>1996-08-14 04:27:38 +0000
commit42e5b01def8d8bdd902830572e4c1129200c7cba (patch)
tree9d4bf3c9a8a5a60ec00dd305017850e24de62a44 /texinfos.am
parentcbe5d3461e4016b55566d600ff141581f1f7a073 (diff)
downloadautomake-42e5b01def8d8bdd902830572e4c1129200c7cba.tar.gz
Texinfo fixups
Diffstat (limited to 'texinfos.am')
-rw-r--r--texinfos.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/texinfos.am b/texinfos.am
index 01bbe00ab..34321ac3b 100644
--- a/texinfos.am
+++ b/texinfos.am
@@ -24,6 +24,15 @@
.texi.dvi:
TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
+.texinfo.info:
+## We want to force the .info file to be built in srcdir. This is
+## probably the simplest way.
+ cd $(srcdir) \
+ && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
+
+.texinfo.dvi:
+ TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
+
## Look in both . and srcdir because the info pages might have been
## rebuilt in the build directory. Can't cd to srcdir; that might
## break a possible install-sh reference.