Re: adding a language (lilypond)

Federico Bruni <[email protected]> Sun, 18 Dec 2011 19:31:01 +0100
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
Il 13/12/2011 09:12, Lorenzo Bettini ha scritto:
> On 12/13/2011 01:08 AM, Federico Bruni wrote:
>> Il 12/12/2011 10:58, Lorenzo Bettini ha scritto:
>>> On 12/11/2011 11:55 PM, Federico Bruni wrote:
>>>>> Finally, if you add a .lang file in the lang.map file, if you want to
>>>>> install it, you'll also have to modify Makefile.am by adding your
>>>>> .lang
>>>>> file to the installed ones (you can take a look at src/Makefile.am).
>>>>>
>>>>
>>>> I think that's what I was missing.
>>>> I'll think about it when I get a working file.
>>>>
>>>
>>> I don't think so, though: the make install should install the lang.map
>>> you actually modified (then you might miss the corresponding .lang file
>>> if it wasn't installed, but the lang.map should be the one you
>>> modified...). Are you sure you modified the lang.map in the source 'src'
>>> directory, and not in the build directory?
>>>
>>
>> Yes, 100% sure.
>> And adding the .lang file to Makefile.am doesn't seem to help.
>> You can try it yourself :)
>>
>> Anyway I don't care much about it now. I want to focus on writing the
>> .lang file.
>
> I did it yesterday and it works perfectly for me :)
> I'm afraid something might have gotten spoiled in your configuration;
> you might want to try with a fresh build.
>

It works fine now, after a fresh build.
Or maybe I couldn't see it. This helped:

source-highlight --lang-list | grep lilypond