]> git.madduck.net Git - etc/vim.git/blob - Makefile

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

9260a5281f14a940f3faaf31b9a61add8bf03aaa
[etc/vim.git] / Makefile
1 VIMDIR=$(DESTDIR)/usr/share/vim
2 ADDONS=${VIMDIR}/addons
3 REGISTRY=${VIMDIR}/registry
4
5 all:
6
7 install:
8         mkdir -pv ${ADDONS}/ftdetect
9         cp -v ftdetect/markdown.vim ${ADDONS}/ftdetect/markdown.vim
10         mkdir -pv ${ADDONS}/ftplugin
11         cp -v ftplugin/markdown.vim ${ADDONS}/ftplugin/markdown.vim
12         mkdir -pv ${ADDONS}/syntax
13         cp -v syntax/markdown.vim ${ADDONS}/syntax/markdown.vim
14         mkdir -pv ${ADDONS}/after/ftplugin
15         cp -v after/ftplugin/markdown.vim ${ADDONS}/after/ftplugin/markdown.vim
16         mkdir -pv ${REGISTRY}
17         cp -v registry/markdown.yaml ${REGISTRY}/markdown.yaml
18
19 test: build/tabular build/vader.vim
20         test/run-tests.sh
21 .PHONY: test
22
23 update: build/tabular build/vader.vim
24         cd build/tabular && git pull
25         cd build/vader.vim && git pull
26 .PHONY: update
27
28 build/tabular: | build
29         git clone https://github.com/godlygeek/tabular build/tabular
30
31 build/vader.vim: | build
32         git clone https://github.com/junegunn/vader.vim build/vader.vim
33
34 build:
35         mkdir build