]> sourceware.org Git - automake.git/commitdiff
dependency fixlet
authorTom Tromey <tromey@redhat.com>
Tue, 13 May 1997 14:20:43 +0000 (14:20 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 13 May 1997 14:20:43 +0000 (14:20 +0000)
ChangeLog
TODO
automake.in

index ce8e5751f06c8f52e7175df437484f59d03aa43a..0b1a26a664899a1346c39558ee3daf560a925ce1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue May 13 08:20:02 1997  Tom Tromey  <tromey@cygnus.com>
+
+       * automake.in (handle_dependencies): Don't generate dependencies
+       if DEP_FILES would be empty.
+
 Sun May 11 13:59:14 1997  Tom Tromey  <tromey@cygnus.com>
 
        * config.guess: New version from FSF.
diff --git a/TODO b/TODO
index ebbca1c336625807e24882213f1a4ad556cee4c7..947d924818bee23fa8a742833d9fe40f46398581 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,9 @@
+* define LINK if a program is mentioned, even if no C sources appear
+
+* BUILT_SOURCES should not be distributed, even when they appear in
+  another _SOURCES line. [? or maybe just leave this up to the
+  to-be-defined generic distribution method ]
+
 * in --cygnus, clean-info not generated at top level
 
 * what if an element of a scanned variable looks like
index 506f98ee4a256910f6759940b3fd4d8cec9c0885..471fd5886e1bb9f72ec503afd4f42dfb1f685d3c 100755 (executable)
@@ -2645,8 +2645,9 @@ sub handle_dependencies
 {
     if ($use_dependencies)
     {
-       # Include GNU-make-specific auto-dep code.
-       if ($dir_holds_sources)
+       # Include GNU-make-specific auto-dep code.  Don't include it
+       # if DEP_FILES would be empty.
+       if ($dir_holds_sources && keys %dep_files)
        {
            &define_pretty_variable ('DEP_FILES', '', sort keys %dep_files);
            $output_rules .= &file_contents ('depend');
This page took 0.048798 seconds and 5 git commands to generate.