X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=vim%2FGNUmakefile;h=ad032e42fe75d5542147a7dd6e756e9557ace988;hb=6a7c7d03d6fb1e826bf9db87dceeb41fe2782849;hp=b05ec0e3c7c42c52e3de3574d5ec6754badd4ed4;hpb=52c8e6abea26fa63f995556fc6555e3895c215e9;p=lilypond.git diff --git a/vim/GNUmakefile b/vim/GNUmakefile index b05ec0e3c7..ad032e42fe 100644 --- a/vim/GNUmakefile +++ b/vim/GNUmakefile @@ -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)