Markdown Vim Mode
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
938 B

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