   
     /* Tell update_goal_chain that a command has been started on behalf of
        this target.  It is important that this happens here and not in
-diff -rc make-orig/main.c make-3.81/main.c
-*** make-orig/main.c	2006-03-20 03:36:37.000000000 +0100
---- make-3.81/main.c	2006-06-21 17:48:43.000000000 +0200
+diff -rc make-3.81-orig/main.c make-3.81/main.c
+*** make-3.81-orig/main.c	2006-03-20 03:36:37.000000000 +0100
+--- make-3.81/main.c	2008-02-20 17:41:25.000000000 +0100
 ***************
 *** 886,891 ****
 --- 886,900 ----

diff -rc make-orig/job.c make-3.81/job.c
*** make-orig/job.c	2006-03-20 04:03:04.000000000 +0100
--- make-3.81/job.c	2006-06-21 17:31:52.000000000 +0200
***************
*** 1083,1089 ****
       appear.  */

  
+ extern int logNestingStdout;
+ extern int logNestingStderr;
diff -rc make-3.81-orig/remake.c make-3.81/remake.c
*** make-3.81-orig/remake.c	2006-03-20 03:36:37.000000000 +0100
--- make-3.81/remake.c	2008-02-20 17:44:01.000000000 +0100
***************
*** 1120,1126 ****
--- 1120,1131 ----
        /* The normal case: start some commands.  */
        if (!touch_flag || file->cmds->any_recurse)
  	{
+           log_working_directory (1);
+           fprintf(stderr, "\e[pbuilding %s\n", file->name);
+           logNestingStderr++;
  	  execute_file_commands (file);
