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.
(handle_dependencies): Ditto.
(scan_configure): Ditto.
(read_am_file): Ditto.
- (file_contents_with_transform): Ditto.
(parse_arguments): Added --verbose.
(initialize_global_constants): Ditto.
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) = '';
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
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