diff options
author | Paul Smith <psmith@gnu.org> | 2000-10-05 16:27:06 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2000-10-05 16:27:06 +0000 |
commit | d5a04ee9849e300f0e4b751ca7c1d1fd96f312a1 (patch) | |
tree | 7fc158cd2ce0d93f354c793dc09d9938de41614c /file.c | |
parent | 50ba270762ae63aa2f31934e4e41a84374b9bc6a (diff) | |
download | gunmake-d5a04ee9849e300f0e4b751ca7c1d1fd96f312a1.tar.gz |
* Various bug fixes.
* New Galician translation.
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ #include "job.h" #include "commands.h" #include "variable.h" +#include "debug.h" /* Hash table of files the makefile knows how to make. */ @@ -410,18 +411,23 @@ remove_intermediates (sig) { if (sig) error (NILF, _("*** Deleting intermediate file `%s'"), f->name); - else if (!silent_flag) - { - if (! doneany) - { - fputs ("rm ", stdout); - doneany = 1; - } - else - putchar (' '); - fputs (f->name, stdout); - fflush (stdout); - } + else + { + if (! doneany) + DB (DB_BASIC, (_("Removing intermediate files...\n"))); + if (!silent_flag) + { + if (! doneany) + { + fputs ("rm ", stdout); + doneany = 1; + } + else + putchar (' '); + fputs (f->name, stdout); + fflush (stdout); + } + } if (status < 0) perror_with_name ("unlink: ", f->name); } |