Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread PhilEHolmes
Updates pretty much as suggested. Please review and agree to push. http://codereview.appspot.com/5645046/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread graham
LGTM, but I think it should go through a normal countdown. http://codereview.appspot.com/5645046/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread julien . rioux
I'm not sure why the run-and-check.sh script needs to be so complicated. http://codereview.appspot.com/5645046/diff/1005/scripts/build/run-and-check.sh File scripts/build/run-and-check.sh (right): http://codereview.appspot.com/5645046/diff/1005/scripts/build/run-and-check.sh#newcode3

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Phil Holmes
- Original Message - From: julien.ri...@gmail.com To: philehol...@googlemail.com; d...@gnu.org; gra...@percival-music.ca Cc: re...@codereview-hr.appspotmail.com; lilypond-devel@gnu.org Sent: Wednesday, February 08, 2012 12:56 PM Subject: Re: Directs makeinfo and texi2html output

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Phil Holmes
- Original Message - From: gra...@percival-music.ca To: philehol...@googlemail.com; d...@gnu.org; julien.ri...@gmail.com Cc: re...@codereview-hr.appspotmail.com; lilypond-devel@gnu.org Sent: Wednesday, February 08, 2012 12:44 PM Subject: Re: Directs makeinfo and texi2html output

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Graham Percival
On Wed, Feb 08, 2012 at 01:23:06PM -, Phil Holmes wrote: The reason I was suggesting an early push was that cleaning up make doc is a cumulative affair, and I find it easier to manage changes/patches if I don't have multiple differences from master in my build system. I'd like to get one

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Julien Rioux
, 2012 12:56 PM Subject: Re: Directs makeinfo and texi2html output to logfiles (issue 5645046) I'm not sure why the run-and-check.sh script needs to be so complicated. Nor me.  But I did a lot of experimentation to get it to work.  I think all the extra redirection and the exec stuff

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Julien Rioux
On Wed, Feb 8, 2012 at 2:26 PM, Graham Percival gra...@percival-music.ca wrote: On Wed, Feb 08, 2012 at 01:23:06PM -, Phil Holmes wrote: The reason I was suggesting an early push was that cleaning up make doc is a cumulative affair, and I find it easier to manage changes/patches if I don't

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread David Kastrup
: Directs makeinfo and texi2html output to logfiles (issue 5645046) I'm not sure why the run-and-check.sh script needs to be so complicated. Nor me. But I did a lot of experimentation to get it to work. I think all the extra redirection and the exec stuff is required because you're running

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread David Kastrup
Julien Rioux julien.ri...@gmail.com writes: On Wed, Feb 8, 2012 at 2:26 PM, Graham Percival gra...@percival-music.ca wrote: On Wed, Feb 08, 2012 at 01:23:06PM -, Phil Holmes wrote: The reason I was suggesting an early push was that cleaning up make doc is a cumulative affair, and I find

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Phil Holmes
- Original Message - From: Julien Rioux julien.ri...@gmail.com To: Phil Holmes m...@philholmes.net Yes, the DEPTH=... confuses bash, so eval is needed. Please try something like the attached though. It removes all the exec stuff and will be much easier to understand for future

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread David Kastrup
Phil Holmes m...@philholmes.net writes: - Original Message - From: Julien Rioux julien.ri...@gmail.com To: Phil Holmes m...@philholmes.net Yes, the DEPTH=... confuses bash, so eval is needed. Please try something like the attached though. It removes all the exec stuff and will be

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Julien Rioux
On Wed, Feb 8, 2012 at 3:05 PM, Phil Holmes m...@philholmes.net wrote: - Original Message - From: Julien Rioux julien.ri...@gmail.com To: Phil Holmes m...@philholmes.net Yes, the DEPTH=... confuses bash, so eval is needed. Please try something like the attached though. It removes all

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread David Kastrup
Julien Rioux julien.ri...@gmail.com writes: I guess I made a typo and it should be eval $1 $2# Redirect both stdout and stderr to log file. but apparently my version of bash understands either or , and it works perfectly: Please refrain from entirely unneeded

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Julien Rioux
On Wed, Feb 8, 2012 at 3:31 PM, David Kastrup d...@gnu.org wrote: Julien Rioux julien.ri...@gmail.com writes: I guess I made a typo and it should be eval $1 $2                        # Redirect both stdout and stderr to log file. but apparently my version of bash understands either or ,

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Phil Holmes
PM Subject: Re: Directs makeinfo and texi2html output to logfiles (issue 5645046) Julien Rioux julien.ri...@gmail.com writes: I guess I made a typo and it should be eval $1 $2# Redirect both stdout and stderr to log file. but apparently my version of bash understands

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread julien . rioux
And one last question: http://codereview.appspot.com/5645046/diff/1005/stepmake/stepmake/texinfo-rules.make File stepmake/stepmake/texinfo-rules.make (right): http://codereview.appspot.com/5645046/diff/1005/stepmake/stepmake/texinfo-rules.make#newcode37 stepmake/stepmake/texinfo-rules.make:37:

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-08 Thread Phil Holmes
and texi2html output to logfiles (issue 5645046) And one last question: http://codereview.appspot.com/5645046/diff/1005/stepmake/stepmake/texinfo-rules.make File stepmake/stepmake/texinfo-rules.make (right): http://codereview.appspot.com/5645046/diff/1005/stepmake/stepmake/texinfo-rules.make

Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-07 Thread PhilEHolmes
Reviewers: dak, Graham Percival, Julien Rioux, Message: Slightly complicated (for me, anyway) but please review and ask questions if it's not clear what I'm doing here. Description: This uses a shell script that I've written to direct the output from a command to a logfile, and to issue a line

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-07 Thread graham
Looks basically good, I just have some trivial quibbles. This should vastly simplify debugging doc problems, though! http://codereview.appspot.com/5645046/diff/1/Documentation/GNUmakefile File Documentation/GNUmakefile (right):

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-07 Thread julien . rioux
Graham basically covered it... http://codereview.appspot.com/5645046/diff/1/Documentation/GNUmakefile File Documentation/GNUmakefile (right): http://codereview.appspot.com/5645046/diff/1/Documentation/GNUmakefile#newcode198 Documentation/GNUmakefile:198:

Re: Directs makeinfo and texi2html output to logfiles (issue 5645046)

2012-02-07 Thread julien . rioux
On 2012/02/07 19:49:46, Graham Percival wrote: i.e. define RUN_WITH_LOG = $(top-src-dir)/scripts/build/CheckAndRun.sh somewhere in a main build file (maybe stepmake.make?) and then just call that definition everywhere else? in make/genericgeneric-vars.make, I would think