]> git.donarmstrong.com Git - lilypond.git/blobdiff - vim/GNUmakefile
Add '-dcrop' option to ps and svg backends
[lilypond.git] / vim / GNUmakefile
index b05ec0e3c7c42c52e3de3574d5ec6754badd4ed4..ad032e42fe75d5542147a7dd6e756e9557ace988 100644 (file)
@@ -9,7 +9,7 @@ EXTRA_DIST_FILES=$(call src-wildcard,*.vim) vimrc
 LILYPOND_WORDS = $(outdir)/lilypond-words $(outdir)/lilypond-words.vim
 LILYPOND_WORDS_DEPENDS =\
   $(top-src-dir)/lily/lily-lexer.cc \
-  $(buildscript-dir)/lilypond-words.py \
+  $(buildscript-dir)/lilypond-words \
   $(top-src-dir)/scm/markup.scm \
   $(top-src-dir)/ly/engraver-init.ly
 
@@ -27,11 +27,15 @@ local-install:
 local-uninstall:
        for a in compiler ftdetect ftplugin indent syntax; do \
                rm $(DESTDIR)$(vimdir)/$$a/lilypond.vim ; \
-               -rmdir -p $(DESTDIR)$(vimdir)/$$a ; \
+               rmdir $(DESTDIR)$(vimdir)/$$a; \
        done
+       -rmdir -p $(DESTDIR)$(vimdir)
+
+$(buildscript-dir)/lilypond-words:
+       make -C $(depth)/scripts/build
 
 $(LILYPOND_WORDS):
-       cd $(top-src-dir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(top-build-dir)/vim/$(outconfbase)
+       cd $(top-src-dir) && $(buildscript-dir)/lilypond-words --words --vim --dir=$(top-build-dir)/vim/$(outconfbase)
 
 all: $(LILYPOND_WORDS)