diff options
author | Paul Smith <psmith@gnu.org> | 1999-11-22 06:15:35 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-11-22 06:15:35 +0000 |
commit | 217ca5d91098c0b6b704fe3d9806378dd5dcc698 (patch) | |
tree | 129b499338c05e6d58bd69e4bf31f42ef2ac9c4d /read.c | |
parent | ebb733c0f9ab045b6fd6245df2baf2e87463e1bc (diff) | |
download | gunmake-217ca5d91098c0b6b704fe3d9806378dd5dcc698.tar.gz |
* Add new debugging output level selection feature.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */ #include "commands.h" #include "variable.h" #include "rule.h" +#include "debug.h" #ifndef WINDOWS32 @@ -149,8 +150,7 @@ read_all_makefiles (makefiles) { unsigned int num_makefiles = 0; - if (debug_flag) - puts (_("Reading makefiles...")); + DB (DB_BASIC, (_("Reading makefiles...\n"))); /* If there's a non-null variable MAKEFILES, its value is a list of files to read first thing. But don't let it prevent reading the @@ -329,7 +329,7 @@ read_makefile (filename, flags) pattern_percent = 0; cmds_started = fileinfo.lineno; - if (debug_flag) + if (ISDB (DB_EXTRA)) { printf (_("Reading makefile `%s'"), fileinfo.filenm); if (flags & RM_NO_DEFAULT_GOAL) |