+1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
+ when appropriate.
+ Reported by Per Cederqvist <ceder@lysator.liu.se>
+ (handle_texinfo): Do not define texinfo_tex='.', use
+ '$(srcdir)/texinfo.tex' instead; the directory name will be
+ properly extracted.
+ (require_conf_file_with_line): Fixed typo.
+
1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
* automake.in (handle_tests): Test `dir=./' before `dir=', so that
{
$texinfo_tex = $config_aux_dir . '/texinfo.tex';
&define_variable ('TEXINFO_TEX', $texinfo_tex);
+ $need_texi_file = 2; # so that we require_conf_file later
}
elsif (&variable_defined ('TEXINFO_TEX'))
{
}
else
{
- $texinfo_tex = '.';
+ $texinfo_tex = '$(srcdir)/texinfo.tex';
$need_texi_file = 1;
}
local ($xxform);
# Do some error checking. Note that this file is not required
# when in Cygnus mode; instead we defined TEXINFO_TEX explicitly
# up above.
- &require_file_with_line ('info_TEXINFOS', $FOREIGN, 'texinfo.tex')
- if $need_texi_file && ! defined $options{'no-texinfo.tex'};
+ if ($need_texi_file && ! defined $options{'no-texinfo.tex'}) {
+ if ($need_texi_file > 1) {
+ &require_conf_file_with_line ('info_TEXINFOS', $FOREIGN, 'texinfo.tex');
+ } else {
+ &require_file_with_line ('info_TEXINFOS', $FOREIGN, 'texinfo.tex');
+ }
+ }
}
# Handle any man pages.
}
}
-# Assumes that the line number is in Makefile.am.
+# Assumes that the line number is in configure.in.
sub require_conf_file_with_conf_line
{
@require_file_paths = @config_aux_path;