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
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
_______________________________________________
Help-source-highlight mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-source-highlight