On Fri, Oct 21, 2011 at 11:30 AM, Richard Heck <rgh...@comcast.net> wrote:
> On 10/21/2011 10:57 AM, stefano franchi wrote:
>> On Fri, Oct 21, 2011 at 9:20 AM, Julien Rioux
>> <jri...@physics.utoronto.ca> wrote:
>>> On 10/21/2011 04:15 PM, stefano franchi wrote:
>>>> I fixed the two files as Julien suggested, but I am still stuck on the
>>>> same issue, namely, the lyx-2-svn.pot-update line. Where is the call
>>>> that issues this line?
>>>>
>>>> python ./lyx_pot.py -b .. -o qt4_l10n.pot -t qt4
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Stefano
>>>>
>>> Hi Stefano,
>>> Did you `svn update' before trying it again? Those calls come from the file
>>> po/Rules-lyx which I modified in revision 39891. Of course it might not have
>>> been the correct fix.
>> I did. I am on revision  39906.
>>
>> So I checked the following:
>>
>> po/Rules-lyx:
>> All calls to python are through the PYTHON constant, as it should, I guess
>>
>> Makefile in root:
>> PYTHON = /usr/bin/python2
>>
>>
>> yet, "python" is called and not python2
>>
> There is a makefile in po/ as well. Perhaps that one needs something
> done to it?

[stefano@polus po]$ grep PYTHON Makefile
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t qt4
${top_srcdir}/src/frontends/qt4/ui/*.ui
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t
layouts ${top_srcdir}/lib/layouts/*.layout
${top_srcdir}/lib/layouts/*.inc ${top_srcdir}/lib/layouts/*.module
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t
layouttranslations ${top_srcdir}/lib/layouts/*.layout
${top_srcdir}/lib/layouts/*.inc ${top_srcdir}/lib/layouts/*.module
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t
languages ${top_srcdir}/lib/languages
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t
encodings ${top_srcdir}/lib/encodings
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t ui
${top_srcdir}/lib/ui/*.ui ${top_srcdir}/lib/ui/*.inc
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t
external ${top_srcdir}/lib/external_templates
        $(PYTHON) $(srcdir)/lyx_pot.py -b $(top_srcdir) -o $@ -t
formats ${top_srcdir}/lib/configure.py
        (cd $(srcdir) ; $(PYTHON) postats.py "$(VERSION)" $(POFILES)) >$@

[stefano@polus po]$ grep python Makefile
[stefano@polus po]$

Isn't this correct? no direct calls to the executable, everything goes
through PYTHON. However, my knowledge of the (auto)make machinery is
non-existent.


Cheers,

Stefano







>
> Richard
>
>



-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

Reply via email to