]> git.donarmstrong.com Git - lilypond.git/blobdiff - vim/GNUmakefile
Fix "make uninstall"
[lilypond.git] / vim / GNUmakefile
index b05ec0e3c7c42c52e3de3574d5ec6754badd4ed4..fd82e40164ae545679ce9529ece1f13285148b3c 100644 (file)
@@ -27,8 +27,9 @@ 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)