+Wed Apr 3 15:16:06 1996 Tom Tromey <tromey@creche.cygnus.com>
+
+ * automake.in (require_file_internal): Use correct file for error
+ messages. Test insh.test.
+
Mon Apr 1 09:47:44 1996 Tom Tromey <tromey@creche.cygnus.com>
+ * texinfos.am (.texi.info): Build output file in srcdir.
+
* automake.in (require_file_internal): If $dir is ".",then look in
relative directory.
+ (handle_texinfo): Canonicalize name of texi file before looking
+ for dependency variable.
Thu Mar 28 08:33:21 1996 Tom Tromey <tromey@creche.cygnus.com>
Priorities for release:
* Fix all mkinstalldirs invocations
* Add support for libtool
+* look at guile-ref; not all .texi are distributed!
+ problem is canonical naming; add test for this.
+* install-sh message can appear multiple times: bogus!
Other priorities:
* Must rewrite am_install_var. Should break into multiple functions.
local ($done) = 0;
local ($vti);
local ($tc_cursor, @texi_cleans);
+ local ($canonical);
foreach $info_cursor (@texis)
{
@texi_deps = ();
push (@texi_deps, $info_cursor);
push (@texi_deps, $vtexi) if $vtexi;
- if (defined $contents{$infobase . "_TEXINFOS"})
+
+ # Canonicalize name first.
+ ($canonical = $infobase) =~ tr/A-Za-z0-9_/_/c;
+ if (defined $contents{$canonical . "_TEXINFOS"})
{
- push (@texi_deps, "\$" . $infobase . '_TEXINFOS');
- &push_dist_common ("\$" . $infobase . '_TEXINFOS');
+ push (@texi_deps, '$(' . $canonical . '_TEXINFOS)');
+ &push_dist_common ('$(' . $canonical . '_TEXINFOS)');
}
$output_rules .= ("\n" . $infobase . ".info: "
{
local ($is_configure, $line, $mystrict, @files) = @_;
local ($file, $fullfile);
- local ($found_it, $errfile);
+ local ($found_it, $errfile, $errdir);
local ($save_dir);
foreach $file (@files)
if ($dir eq '.')
{
$fullfile = $relative_dir . "/" . $file;
+ $errdir = $relative_dir unless $errdir;
}
else
{
$fullfile = $dir . "/" . $file;
+ $errdir = $dir unless $errdir;
}
# Use different name for "error filename". Otherwise on
# an error the bad file will be reported as eg
# `../../install-sh' when using the default
# config_aux_path.
- $errfile = $fullfile unless $errfile;
+ $errfile = $errdir . '/' . $file;
if (-f $fullfile)
{
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
.texi.info:
- $(MAKEINFO) -I$(srcdir) $<
+## FIXME is this right? We make sure the output file goes into srcdir.
+ $(MAKEINFO) -I$(srcdir) $< -o $(srcdir)/$@
.texi.dvi:
TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
+Wed Apr 3 15:10:54 1996 Tom Tromey <tromey@creche.cygnus.com>
+
+ * insh.test: New file.
+
Wed Mar 27 23:31:51 1996 Tom Tromey <tromey@creche.cygnus.com>
* rulepat.test: New file.
TESTS = mdate.test vtexi.test acoutput.test instexec.test checkall.test \
acoutnoq.test acouttbs.test libobj.test proginst.test acoutqnl.test \
confincl.test spelling.test prefix.test badprog.test depend.test exdir.test \
-canon.test installsh.test empty.test rulepat.test
+canon.test installsh.test empty.test rulepat.test insh.test
## Maybe automake should distribute TESTS? You tell me.
EXTRA_DIST = defs $(TESTS)
TESTS = mdate.test vtexi.test acoutput.test instexec.test checkall.test \
acoutnoq.test acouttbs.test libobj.test proginst.test acoutqnl.test \
confincl.test spelling.test prefix.test badprog.test depend.test exdir.test \
-canon.test installsh.test empty.test rulepat.test
+canon.test installsh.test empty.test rulepat.test insh.test
EXTRA_DIST = defs $(TESTS)
DIST_COMMON = ChangeLog Makefile.am Makefile.in
--- /dev/null
+#! /bin/sh
+
+# Test for bug where missing mkinstalldirs give bogus error about
+# missing install-sh.
+
+. $srcdir/defs || exit 1
+
+rm mkinstalldirs
+
+: > Makefile.am
+
+$AUTOMAKE > out 2>&1 && exit 1
+
+grep mkinstalldirs out
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
.texi.info:
- $(MAKEINFO) -I$(srcdir) $<
+## FIXME is this right? We make sure the output file goes into srcdir.
+ $(MAKEINFO) -I$(srcdir) $< -o $(srcdir)/$@
.texi.dvi:
TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<