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.
1 VIMDIR=$(DESTDIR)/usr/share/vim
2 ADDONS=${VIMDIR}/addons
3 REGISTRY=${VIMDIR}/registry
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 ${ADDONS}/doc
17 cp -v doc/vim-markdown.txt ${ADDONS}/doc/vim-markdown.txt
19 cp -v registry/markdown.yaml ${REGISTRY}/markdown.yaml
21 test: build/tabular build/vim-toml build/vader.vim
25 update: build/tabular build/vim-toml build/vader.vim
26 cd build/tabular && git pull
27 cd build/vim-toml && git pull
28 cd build/vader.vim && git pull
31 build/tabular: | build
32 git clone https://github.com/godlygeek/tabular build/tabular
34 build/vim-toml: | build
35 git clone https://github.com/cespare/vim-toml build/vim-toml
37 build/vader.vim: | build
38 git clone https://github.com/junegunn/vader.vim build/vader.vim
43 doc: build/html2vimdoc build/vim-tools
44 sed '/^\(\[!\[Build Status\]\|1. \[\)/d' README.md > doc/tmp.md
45 build/html2vimdoc/bin/python build/vim-tools/html2vimdoc.py -f vim-markdown \
47 sed -e "s/\s*$$//; # remove trailing spaces" \
48 -e "/^- '[^']*':\( \|$$\)/ { # match command lines" \
49 -e "s/^- '\([^']*\)':\( \|$$\)/ \*\1\*\n\0/; # make command references" \
50 -e ":a; s/^\(.\{1,78\}\n\)/ \1/; ta } # right align references" \
51 > doc/vim-markdown.txt && rm -f doc/tmp.md
54 # Prerequire Python and virtualenv.
55 # $ sudo pip install virtualenv
56 # Create the virtual environment.
57 # Install the dependencies.
58 build/html2vimdoc: | build
59 virtualenv build/html2vimdoc
60 build/html2vimdoc/bin/pip install beautifulsoup coloredlogs==4.0 markdown
62 build/vim-tools: | build
63 git clone https://github.com/xolox/vim-tools.git build/vim-tools