]> sourceware.org Git - automake.git/commitdiff
Fixlet
authorTom Tromey <tromey@redhat.com>
Thu, 15 Feb 1996 03:06:24 +0000 (03:06 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 15 Feb 1996 03:06:24 +0000 (03:06 +0000)
ChangeLog
automake.in
depend.am
lib/am/depend.am

index f52ee9b35f68b395fcf13c157cb702b22855b8cb..116bf94c00b48bd046621fb2bf20b4f4630f1707 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 Wed Feb 14 08:36:02 1996  Tom Tromey  <tromey@creche.cygnus.com>
 
+       * depend.am ($(srcdir)/.deps/.P): Use "echo", not ":".
+
        Implemented --verbose feature; idea from Greg Woods:
        * automake.in (verbose): New global.
        (generate_makefile): Print creating message if verbose.
@@ -7,7 +9,6 @@ Wed Feb 14 08:36:02 1996  Tom Tromey  <tromey@creche.cygnus.com>
        (handle_dependencies): Ditto.
        (scan_configure): Ditto.
        (read_am_file): Ditto.
-       (file_contents_with_transform): Ditto.
        (parse_arguments): Added --verbose.
        (initialize_global_constants): Ditto.
 
index f42755171acdbe2ebdf4202acf2277185a612f4b..5c11e1fc9eaa51d053237dba8ea3cfac93edadb1 100755 (executable)
@@ -2096,7 +2096,8 @@ sub file_contents_with_transform
 
     open (FC_FILE, $file)
        || die "automake: installation error: cannot open \`$file'\n";
-    print "automake: reading $file\n" if $verbose;
+    # Looks stupid?
+    # print "automake: reading $file\n" if $verbose;
 
     local ($was_rule) = 0;
     local ($result_vars) = '';
index 18d2d3922b0dee6d7aae231c51a1e47857ac8311..f48474166a2d539833858e12d7d4a783c5663763 100644 (file)
--- a/depend.am
+++ b/depend.am
@@ -29,7 +29,12 @@ $(srcdir)/.deps/.P: $(BUILT_SOURCES)
        cd $(srcdir) && test -d .deps || mkdir .deps
 ## Use ":" here and not "echo timestamp".  Otherwise GNU Make barfs:
 ## .deps/.P:1: *** missing separator.  Stop.
-       : > $@
+## Actually, use a plain "echo" and not ":".  Why?  From the Autoconf
+## manual, node Automatic Remaking:
+## On some old BSD systems, `touch' or any command that results in an
+## empty file does not update the timestamps, so use a command like
+## `echo' as a workaround.
+       echo > $@
 
 -include $(DEP_FILES)
 $(DEP_FILES): $(srcdir)/.deps/.P
index 18d2d3922b0dee6d7aae231c51a1e47857ac8311..f48474166a2d539833858e12d7d4a783c5663763 100644 (file)
@@ -29,7 +29,12 @@ $(srcdir)/.deps/.P: $(BUILT_SOURCES)
        cd $(srcdir) && test -d .deps || mkdir .deps
 ## Use ":" here and not "echo timestamp".  Otherwise GNU Make barfs:
 ## .deps/.P:1: *** missing separator.  Stop.
-       : > $@
+## Actually, use a plain "echo" and not ":".  Why?  From the Autoconf
+## manual, node Automatic Remaking:
+## On some old BSD systems, `touch' or any command that results in an
+## empty file does not update the timestamps, so use a command like
+## `echo' as a workaround.
+       echo > $@
 
 -include $(DEP_FILES)
 $(DEP_FILES): $(srcdir)/.deps/.P
This page took 0.036732 seconds and 5 git commands to generate.