]> sourceware.org Git - automake.git/commitdiff
Bug fixes. Added new test.
authorTom Tromey <tromey@redhat.com>
Thu, 28 Mar 1996 06:34:10 +0000 (06:34 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 28 Mar 1996 06:34:10 +0000 (06:34 +0000)
ChangeLog
NEWS
THANKS
TODO
automake.in
tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/rulepat.test [new file with mode: 0755]

index e2c0e47d6844b77725bb6db54863d1e49cd1ac9a..7c0826890a25b922aa6837dc457e179b98017f59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@ Tue Mar 26 13:47:54 1996  Tom Tromey  <tromey@creche.cygnus.com>
        * automake.in (handle_dist_worker): Find NEWS in srcdir.
        ($RULE_PATTERN): Include chars "$(){}/" in allowable patterns in a
        rule.
+       (require_config_file): Set config_aux_path when file found.
+       ($config_aux_dir): New variable.
+       (require_config_file): Set it.
+       (handle_man_pages): Find mkinstalldirs in config_aux_dir.
 
 Mon Mar 25 15:32:57 1996  Tom Tromey  <tromey@creche.cygnus.com>
 
diff --git a/NEWS b/NEWS
index 05f40d9844ef6e4fac169fcae1abfe7fa208ebca..faa9c96056d43dfe81d2459fd752471a2d5db62b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+New in 0.32:
+* Many bug fixes
+\f
 New in 0.31:
 * Bug fixes
 * Documentation updates (many from François Pinard)
diff --git a/THANKS b/THANKS
index 5a04ee42a1b9f8cde7d89541dfca9fac589057b8..f7cab37a603c7464e7d8f45120b2a2d9d88fed95 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -2,6 +2,7 @@ Automake was originally written by David J. MacKenzie <djm@uunet.uu.net>.
 It would not be what it is today without the invaluable help of these
 people:
 
+Dieter Baron <dillo@stieltjes.smc.univie.ac.at>
 François Pinard <pinard@iro.umontreal.ca>
 Gord Matzigkeit <gord@enci.ucalgary.ca>
 Greg A. Woods <woods@most.weird.com>
diff --git a/TODO b/TODO
index 30643cdb13e4b0b13ace4733dec9e523e5163585..bc79e90be40b8609ae850d75c9b46e58ca55241f 100644 (file)
--- a/TODO
+++ b/TODO
@@ -3,6 +3,7 @@ Priorities for release:
 * Only require AC_ARG_PROGRAM if a program installed
   this requires omitting vars in this case as well
 * Add test case for recent RULE_PATTERN change
+* Add Dieter's idea of dist-local target; document
 
 Other priorities:
 * Must rewrite am_install_var.  Should break into multiple functions.
index 9e1cedc7651d474e8d1fab71d74aee837d54af4f..c9773a77452c5eeaab428431ea90608205e3d1d1 100755 (executable)
@@ -102,6 +102,7 @@ $ac_output_line = 0;
 # List of directories to search for configure-required files.  This
 # can be set by AC_CONFIG_AUX_DIR.
 @config_aux_path = ('.', '..', '../..');
+$config_aux_dir = '';
 
 # Whether AC_PROG_MAKE_SET has been seen in configure.in.
 $seen_make_set = 0;
@@ -916,7 +917,8 @@ sub handle_man_pages
     foreach (keys %sections)
     {
        push (@installdirs, '$(mandir)/man' . $_);
-       $output_rules .= ("\t" . '$(top_srcdir)/mkinstalldirs $(mandir)/man'
+       $output_rules .= ("\t" . $config_aux_dir
+                         . 'mkinstalldirs $(mandir)/man'
                          . $_ . "\n");
     }
     push (@phony, 'install-man');
@@ -2690,6 +2692,14 @@ sub require_config_file
            {
                $found_it = 1;
                &push_dist_common ($file) if $dir eq $relative_dir;
+
+               # The first config file found set the config aux path
+               # for all other files.
+               @config_aux_path = $dir;
+               $config_aux_dir = '$(top_srcdir)';
+               $config_aux_dir .= '/' . $dir
+                   unless $dir eq '.';
+
                last;
            }
        }
index be5cae08500caf06274415914adb47ec1f39e875..cbac83fd1a480ef45564bf5566d4042ea86c9961 100644 (file)
@@ -1,3 +1,7 @@
+Wed Mar 27 23:31:51 1996  Tom Tromey  <tromey@creche.cygnus.com>
+
+       * rulepat.test: New file.
+
 Sat Mar 16 08:37:36 1996  Tom Tromey  <tromey@creche.cygnus.com>
 
        * empty.test: New file.
index 238c4ec32ca4a58af27759b943dc32a79fb6594d..46dbe497cad6c9a55a99a24968b607af15437c9b 100644 (file)
@@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = gnits
 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
+canon.test installsh.test empty.test rulepat.test
 
 ## Maybe automake should distribute TESTS?  You tell me.
 EXTRA_DIST = defs $(TESTS)
index 8c843790064e301ad1918aac329bbe460ae21f7d..a5407b7bc2a85ad71618924d22f2f1f33851619e 100644 (file)
@@ -43,7 +43,7 @@ AUTOMAKE_OPTIONS = gnits
 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
+canon.test installsh.test empty.test rulepat.test
 
 EXTRA_DIST = defs $(TESTS)
 DIST_COMMON = ChangeLog Makefile.am Makefile.in
diff --git a/tests/rulepat.test b/tests/rulepat.test
new file mode 100755 (executable)
index 0000000..1a1544c
--- /dev/null
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+# Test to make sure RULE_PATTERN catches strange targets.
+
+. $srcdir/defs || exit 1
+
+cat > Makefile.am << 'END'
+$(srcdir)/Makefile.am:
+END
+
+$AUTOMAKE || exit 1
+
+grep '^$(srcdir)/Makefile\.am' Makefile.in
This page took 0.04265 seconds and 5 git commands to generate.