Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2734)

Issue 6487046: Reduces langdefs.py warnings in doc build (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by PhilEHolmes
Modified:
11 years, 8 months ago
Reviewers:
Graham Percival, email, mail, Reinhold, John Mandereau
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Reduces langdefs.py warnings in doc build Doesn't quite get rid of them - one to sort. This has been interesting to fix. There were 2 issues - building the regtests before building the docs meant that the translations weren't available, and this threw about 20 warnings. I've swapped their order in the makefile with no apparent other problem. Building the manuals threw about 10 warnings. However, it doesn't appear possible to build the translations before the manuals because of a dependency. To that end, I've added an environment variable to the call to lilypond-book, and suppressed the warning when this variable is set.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M GNUmakefile.in View 1 chunk +2 lines, -2 lines 1 comment Download
M make/ly-rules.make View 1 chunk +1 line, -1 line 0 comments Download
M python/langdefs.py View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 6
PhilEHolmes
Please review
11 years, 8 months ago (2012-08-27 13:57:49 UTC) #1
John Mandereau
I don't see the point of hiding/getting rid of these warnings, when 1) for now ...
11 years, 8 months ago (2012-08-27 14:37:31 UTC) #2
mail_philholmes.net
----- Original Message ----- From: <john.mandereau@gmail.com> To: <PhilEHolmes@googlemail.com>; <graham@percival-music.ca>; <reinhold.kainhofer@gmail.com> Cc: <reply@codereview-hr.appspotmail.com>; <lilypond-devel@gnu.org> Sent: Monday, ...
11 years, 8 months ago (2012-08-27 14:48:26 UTC) #3
John Mandereau
http://codereview.appspot.com/6487046/diff/1/GNUmakefile.in File GNUmakefile.in (right): http://codereview.appspot.com/6487046/diff/1/GNUmakefile.in#newcode12 GNUmakefile.in:12: input Switching the build order of subdirectories here should ...
11 years, 8 months ago (2012-08-27 20:45:14 UTC) #4
email_philholmes.net
----- Original Message ----- From: <john.mandereau@gmail.com> To: <PhilEHolmes@googlemail.com>; <graham@percival-music.ca>; <reinhold.kainhofer@gmail.com> Cc: <lilypond-devel@gnu.org>; <reply@codereview-hr.appspotmail.com> Sent: Monday, ...
11 years, 8 months ago (2012-08-31 15:04:52 UTC) #5
John Mandereau
11 years, 8 months ago (2012-08-31 21:30:18 UTC) #6
Il giorno ven, 31/08/2012 alle 16.04 +0100, Phil Holmes ha scritto:
> I've just got back on this, and confirmed that adding
> 
> $(MAKE) -C $(top-build-dir)/Documentation/po out=www messages
> 
> to the top of the doc-stage-1 recipe gets rid of the warnings, so in fact it 
> makes the build work correctly.  I've run a full make/make doc/make test 
> with this change and would like to push directly to staging - given that it 
> was John's suggestion, he knows what he's talking about, and it works and 
> it's a further step in reducing the cruft from make doc.
> 
> Any objections?

Go ahead.

Thanks,
John


Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b