summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-11-22 06:15:35 +0000
committerPaul Smith <psmith@gnu.org>1999-11-22 06:15:35 +0000
commit217ca5d91098c0b6b704fe3d9806378dd5dcc698 (patch)
tree129b499338c05e6d58bd69e4bf31f42ef2ac9c4d /function.c
parentebb733c0f9ab045b6fd6245df2baf2e87463e1bc (diff)
downloadgunmake-217ca5d91098c0b6b704fe3d9806378dd5dcc698.tar.gz
* Add new debugging output level selection feature.
Diffstat (limited to 'function.c')
-rw-r--r--function.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/function.c b/function.c
index 237214e..5ce56b5 100644
--- a/function.c
+++ b/function.c
@@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. */
#include "dep.h"
#include "job.h"
#include "commands.h"
+#include "debug.h"
#ifdef _AMIGA
#include "amiga.h"
@@ -1454,8 +1455,8 @@ func_shell (o, argv, funcname)
reap_children (1, 0);
if (batch_filename) {
- if (debug_flag)
- printf(_("Cleaning up temporary batch file %s\n"), batch_filename);
+ DB (DB_EXTRA, (_("Cleaning up temporary batch file %s\n"),
+ batch_filename));
remove(batch_filename);
free(batch_filename);
}