diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2005-11-12 19:04:58 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2005-11-12 19:04:58 +0000 |
commit | 45e6609a6294f50b631fda3e65dbf7698b2114b3 (patch) | |
tree | 9b1a843d506245886994b701bf3602e7d448beea /vim | |
parent | d15f98c58d6cb1e59989616c3a71f9cbcc1184c7 (diff) |
(local-uninstall): remove
music-drawing-routines.ps juggling.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/GNUmakefile | 35 |
1 files changed, 8 insertions, 27 deletions
diff --git a/vim/GNUmakefile b/vim/GNUmakefile index 03183df6a9..315cc4530f 100644 --- a/vim/GNUmakefile +++ b/vim/GNUmakefile @@ -19,36 +19,17 @@ STEPMAKE_TEMPLATES=install-out include $(depth)/make/stepmake.make local-install: - -$(INSTALL) -d $(DESTDIR)$(vimdir)/compiler - $(INSTALL) -m 644 lilypond-compiler.vim $(DESTDIR)$(vimdir)/compiler/lilypond.vim - - -$(INSTALL) -d $(DESTDIR)$(vimdir)/ftdetect - $(INSTALL) -m 644 lilypond-ftdetect.vim $(DESTDIR)$(vimdir)/ftdetect/lilypond.vim - - -$(INSTALL) -d $(DESTDIR)$(vimdir)/ftplugin - $(INSTALL) -m 644 lilypond-ftplugin.vim $(DESTDIR)$(vimdir)/ftplugin/lilypond.vim - - -$(INSTALL) -d $(DESTDIR)$(vimdir)/indent - $(INSTALL) -m 644 lilypond-indent.vim $(DESTDIR)$(vimdir)/indent/lilypond.vim - - -$(INSTALL) -d $(DESTDIR)$(vimdir)/syntax + for a in compiler ftdetect ftplugin indent syntax; do \ + $(INSTALL) -d $(DESTDIR)$(vimdir)/$$a \ + && $(INSTALL) -m 644 $(srcdir)/lilypond-$$a.vim $(DESTDIR)$(vimdir)/$$a/lilypond.vim ; \ + done $(INSTALL) -m 644 lilypond-syntax.vim $(DESTDIR)$(vimdir)/syntax/lilypond.vim local-uninstall: - rm $(DESTDIR)$(vimdir)/compiler/lilypond.vim - -rmdir -p $(DESTDIR)$(vimdir)/compiler - - rm $(DESTDIR)$(vimdir)/ftdetect/lilypond.vim - -rmdir -p $(DESTDIR)$(vimdir)/ftdetect - - rm $(DESTDIR)$(vimdir)/ftplugin/lilypond.vim - -rmdir -p $(DESTDIR)$(vimdir)/ftplugin - - rm $(DESTDIR)$(vimdir)/indent/lilypond.vim - -rmdir -p $(DESTDIR)$(vimdir)/indent - - rm $(DESTDIR)$(vimdir)/syntax/lilypond.vim - -rmdir -p $(DESTDIR)$(vimdir)/syntax + for a in compiler ftdetect ftplugin indent syntax; do \ + rm $(DESTDIR)$(vimdir)/$$a/lilypond.vim ; \ + -rmdir -p $(DESTDIR)$(vimdir)/$$a ; \ + done $(LILYPOND_WORDS): cd $(top-src-dir) && $(PYTHON) buildscripts/lilypond-words.py --words --vim --dir=$(top-build-dir)/vim/$(outconfbase) |