X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/ef44c9e7fc839bec7bb17f8264442912f38c903c..1413c2cc27fb062758c57205c2796609ace75e29:/Makefile?ds=inline diff --git a/Makefile b/Makefile index d929849..9260a52 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VIMDIR=/usr/share/vim +VIMDIR=$(DESTDIR)/usr/share/vim ADDONS=${VIMDIR}/addons REGISTRY=${VIMDIR}/registry @@ -15,3 +15,21 @@ install: cp -v after/ftplugin/markdown.vim ${ADDONS}/after/ftplugin/markdown.vim mkdir -pv ${REGISTRY} cp -v registry/markdown.yaml ${REGISTRY}/markdown.yaml + +test: build/tabular build/vader.vim + test/run-tests.sh +.PHONY: test + +update: build/tabular build/vader.vim + cd build/tabular && git pull + cd build/vader.vim && git pull +.PHONY: update + +build/tabular: | build + git clone https://github.com/godlygeek/tabular build/tabular + +build/vader.vim: | build + git clone https://github.com/junegunn/vader.vim build/vader.vim + +build: + mkdir build