Re: Need help with Balsa's doc/Makefile.am



Le 07. 09. 16 à 20:02, Peter Bloomfield a écrit :
Current development of the Balsa email client takes place in its gtk3
branch, which was only recently included in damned-lies by Piotr Drąg
(to whom many thanks!). The Module Statistics[1] show that the POT file
for the User Guide is unavailable:

Notices
Error regenerating POT file for document balsa-help:

itstool -o <scratchdir>/git/balsa/doc/C/balsa-help.pot
C/$(balsa_help_files) C/$(balsa_spell_extra)
Error: cannot open XML file C/$(balsa_help_files)

The doc/Makefile.am defines balsa_help_files and balsa_spell_extra as
space-separated lists of files, and then sets:

HELP_FILES   = $(balsa_help_files) $(balsa_spell_extra)

So apparently $(HELP_FILES) is being used literally, without replacing
$(balsa_help_files) and $(balsa_spell_extra) by their definitions. Is
that not the correct way to concatenate two lists of files? (FWIW, "cd
doc && make pot" makes balsa.pot with no errors.)

Hi Peter,

The problem is that Damned-Lies is running on pure static sources, to read configurations and to extract strings.

I tried to make the variable reading code a little bit smarter to be able to read included variables. Now it still fails as the code returns after finding the first occurrence of the variable in the file (which is empty). It's still a bit hackish, but what about inverting the "if BUILD_WITH_SPELL_CHECKER" condition in your file?

Claude
--
www.2xlibre.net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]