+Tue Aug 13 17:53:58 1996 Tom Tromey <tromey@creche.cygnus.com>
+
+ * texinfos.am (.texinfo.info): New target.
+ (.texinfo.dvi): New target.
+
+ From Jim Meyering:
+ * automake.in (handle_texinfo): Use `.info[-0-9]*' as pattern to
+ match info files.
+ (handle_texinfo): Handle `.texinfo' files.
+
Mon Aug 12 10:28:46 1996 Tom Tromey <tromey@creche.cygnus.com>
* automake.in (require_file_internal): Special-case `.' when
foreach $info_cursor (@texis)
{
- ($infobase = $info_cursor) =~ s/\.texi$//;
+ ($infobase = $info_cursor) =~ s/\.texi(nfo)?$//;
# If 'version.texi' is referenced by input file, then include
# automatic versioning capability.
. join (' ', @texi_deps)
. "\n\n");
- push (@infos_list, $infobase . '.info', $infobase . '.info-[0-9]',
- $infobase . '.info-[0-9][0-9]');
+ push (@infos_list, $infobase . '.info[-0-9]*');
push (@info_deps_list, $infobase . '.info');
push (@dvis_list, $infobase . '.dvi');
. 'rm -f $(INFOS)' . "\n");
&push_phony_cleaners ('info');
- push (@suffixes, '.texi', '.info', '.dvi');
+ push (@suffixes, '.texi', '.texinfo', '.info', '.dvi');
if (! defined $options{'no-installinfo'})
{
.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.
.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.