Re: adding a language (lilypond)
Federico Bruni <[email protected]> Sun, 18 Dec 2011 19:52:08 +0100
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------000008050702030609070704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Il 18/12/2011 19:31, Federico Bruni ha scritto: > It works fine now, after a fresh build. > Or maybe I couldn't see it. This helped: > > source-highlight --lang-list | grep lilypond Wait, I found the error. The two files are not added. I didn't realize it because (stupid me) I was running the command in the directory where there is the .lang and .map file This returns nothing: ls /usr/local/share/source-highlight/ | grep lilypond What I've missed? See my git diff attached. I haven't done 'git add .', but I guess this is not related. I probably missed something in the Makefile, right? Thanks, Federico --------------000008050702030609070704 Content-Type: text/x-diff; name="srchilite.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="srchilite.diff" diff --git a/src/Makefile.am b/src/Makefile.am index 48fdc2a..f58a6d7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -85,7 +85,8 @@ texinfo.lang haskell.lang haskell_literate.lang \ manifest.lang asm.lang todo.lang applescript.lang \ vbscript.lang awk.lang bat.lang clipper.lang cobol.lang d.lang \ errors.lang erlang.lang proto.lang vala.lang lisp.lang \ -scheme.lang po.lang opa.lang javalog.lang upc.lang tml.lang +scheme.lang po.lang opa.lang javalog.lang upc.lang tml.lang \ +lilypond.lang LANGFILES_NOTTOCHECK= \ tml_formatting_all.lang tml_macrolinks.lang tml_macrosdelayed2.lang \ @@ -122,7 +123,7 @@ source_highlightdata_DATA = \ $(LANGFILES) $(LANGFILES_NOTTOCHECK) $(OUTLANGFILES) \ $(STYLEFILES) \ default.style style2.style style3.style \ -javalog.style \ +javalog.style \ lilypond.style lang.map outlang.map \ default.css \ style.defaults diff --git a/src/lang.map b/src/lang.map index ee05df7..103ca9d 100644 --- a/src/lang.map +++ b/src/lang.map @@ -150,4 +150,5 @@ pot = po.lang opa = opa.lang javalog = javalog.lang upc = upc.lang -tml = tml.lang \ No newline at end of file +tml = tml.lang +ly = lilypond.lang --------------000008050702030609070704 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-source-highlight mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-source-highlight --------------000008050702030609070704--