"Jonathan Nieder wrote:" > > Hi Paul et al, > > Vincent Lefevre wrote[1]: > > > Debugging would be much easier if all commands are echoed (i.e. > > including those starting with '@') with "make -d". I suggest > > adding the --debug option "e (echo)" for this purpose. > > Sounds like a good idea, and I don't know of anything existing like > this. > > Does it make sense? Any hints for a person wanting to implement it?
Why do we need to modify make when what your asking for is easily created by thoughtful makefile construction. If you preface your target rules with a macro, say MKDBG, default setting it to "@" then you have a silent build. When you need to bug on the command line just add "MKDBG=" and now all target rules get echoed. You can vary this by adding different macros if you need varying amounts of output, much more flexible and is accomplished without any software change. > > [1] http://bugs.debian.org/451092 > > _______________________________________________ > Bug-make mailing list > Bug-make@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-make > _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make