From ac3c3f3404fc5822de88a9671a637730cf7a51a2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 15 Feb 1996 03:06:24 +0000 Subject: [PATCH] Fixlet --- ChangeLog | 3 ++- automake.in | 3 ++- depend.am | 7 ++++++- lib/am/depend.am | 7 ++++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f52ee9b3..116bf94c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ Wed Feb 14 08:36:02 1996 Tom Tromey + * 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 (handle_dependencies): Ditto. (scan_configure): Ditto. (read_am_file): Ditto. - (file_contents_with_transform): Ditto. (parse_arguments): Added --verbose. (initialize_global_constants): Ditto. diff --git a/automake.in b/automake.in index f4275517..5c11e1fc 100755 --- a/automake.in +++ b/automake.in @@ -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) = ''; diff --git a/depend.am b/depend.am index 18d2d392..f4847416 100644 --- 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 diff --git a/lib/am/depend.am b/lib/am/depend.am index 18d2d392..f4847416 100644 --- a/lib/am/depend.am +++ b/lib/am/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 -- 2.43.5