X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=vim%2FGNUmakefile;h=ad032e42fe75d5542147a7dd6e756e9557ace988;hb=0d864ca56704009bda2a872cefd7038ca1d94ada;hp=8ebe0f5f956d0da7f1f72f6e222616ac09745c2d;hpb=7f438cab8ae3d2aab4221a7204b276133040c9dc;p=lilypond.git diff --git a/vim/GNUmakefile b/vim/GNUmakefile index 8ebe0f5f95..ad032e42fe 100644 --- a/vim/GNUmakefile +++ b/vim/GNUmakefile @@ -9,14 +9,14 @@ 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 STEPMAKE_TEMPLATES=install-out # vimdir defined in config.make -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make local-install: for a in compiler ftdetect ftplugin indent syntax; do \ @@ -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) -$(LILYPOND_WORDS): - cd $(top-src-dir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(top-build-dir)/vim/$(outconfbase) +$(buildscript-dir)/lilypond-words: + make -C $(depth)/scripts/build + +$(LILYPOND_WORDS): + cd $(top-src-dir) && $(buildscript-dir)/lilypond-words --words --vim --dir=$(top-build-dir)/vim/$(outconfbase) all: $(LILYPOND_WORDS)