aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-19 23:43:53 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-19 23:43:53 +1300
commit062274de75e25ad96f52d39e17844048003b90dc (patch)
tree093c2479feb70548882938177d0edb95d47056e9 /Makefile
parentMerge branch 'hotfix/v0.17.2' (diff)
parentRebuild dotfiles(7) manual from README.md (diff)
downloaddotfiles-0.18.0.tar.gz (sig)
dotfiles-0.18.0.zip
Merge branch 'release/v0.18.0'v0.18.0
* release/v0.18.0: Rebuild dotfiles(7) manual from README.md Bump version number to 0.18.0 Use %:S expansion only when available Force g:current_compiler removal before check/lint Use quickfix window for check/lint Add vim/compiler scripts to vint targets Use :compiler quickfix systems for Vim/HTML lint Use :compiler scripts for makeprg setup Add :lwindow support to Perl check/lint Adapt sh check/lint to use :lmake Remove 'shellpipe' setting Use single-quotes for strings in sh.vim Use full word "syntax" in sh.vim Coax sh.vim into accepting #/% param expansion Mention the Vim plugin dist target in README.md Add Makefile targets for Vim plugin dists
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile97
1 files changed, 95 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 63d192f8..a899a367 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,7 @@
install-vim-after-syntax \
install-vim-autoload \
install-vim-bundle \
+ install-vim-compiler \
install-vim-config \
install-vim-ftdetect \
install-vim-gui \
@@ -71,7 +72,19 @@
lint-sh \
lint-urxvt \
lint-vim \
- lint-xinit
+ lint-xinit \
+ dist-vim-plugin \
+ dist-vim-plugin-auto-backupdir \
+ dist-vim-plugin-auto-swapdir \
+ dist-vim-plugin-auto-undodir \
+ dist-vim-plugin-big-file-options \
+ dist-vim-plugin-command-typos \
+ dist-vim-plugin-copy-linebreak \
+ dist-vim-plugin-fixed-join \
+ dist-vim-plugin-insert-suspend-hlsearch \
+ dist-vim-plugin-mail-mutt \
+ dist-vim-plugin-strip-trailing-whitespace \
+ dist-vim-plugin-toggle-option-flag
.SUFFIXES:
.SUFFIXES: .awk .bash .m4 .mi5 .pl .sed .sh
@@ -261,7 +274,8 @@ clean distclean:
gnupg/gpg.conf.m4 \
include/mktd.m4 \
man/man8/dotfiles.7df \
- urxvt/ext/select
+ urxvt/ext/select \
+ vim/dist/*
.awk:
sh bin/shb.sh awk -f < $< > $@
@@ -482,6 +496,7 @@ install-urxvt: urxvt/ext/select
install-vim: install-vim-after \
install-vim-autoload \
install-vim-bundle \
+ install-vim-compiler \
install-vim-config \
install-vim-doc \
install-vim-ftdetect \
@@ -516,6 +531,10 @@ install-vim-bundle: install-vim-config
-type d -exec sh -c 'mkdir -p -- $(HOME)/."$$1"' _ {} \; -o \
-type f -exec sh -c 'cp -p -- "$$1" $(HOME)/."$$1"' _ {} \;
+install-vim-compiler:
+ mkdir -p -- $(HOME)/.vim/compiler
+ cp -p -- vim/compiler/*.vim $(HOME)/.vim/compiler
+
install-vim-config:
mkdir -p -- $(HOME)/.vim/config
cp -p -- vim/vimrc $(HOME)/.vimrc
@@ -633,3 +652,77 @@ lint-vim:
lint-xinit: check-xinit
sh lint/xinit.sh
+
+dist-vim-plugin: dist-vim-plugin-auto-backupdir \
+ dist-vim-plugin-auto-swapdir \
+ dist-vim-plugin-auto-undodir \
+ dist-vim-plugin-big-file-options \
+ dist-vim-plugin-command-typos \
+ dist-vim-plugin-copy-linebreak \
+ dist-vim-plugin-detect-background \
+ dist-vim-plugin-fixed-join \
+ dist-vim-plugin-insert-suspend-hlsearch \
+ dist-vim-plugin-mail-mutt \
+ dist-vim-plugin-strip-trailing-whitespace \
+ dist-vim-plugin-toggle-option-flag
+
+dist-vim-plugin-auto-backupdir: \
+ vim/plugin/auto_backupdir.vim \
+ vim/doc/auto_backupdir.txt \
+ VERSION
+ sh dist/vim-plugin.sh auto_backupdir
+dist-vim-plugin-auto-swapdir: \
+ vim/plugin/auto_swapdir.vim \
+ vim/doc/auto_swapdir.txt \
+ VERSION
+ sh dist/vim-plugin.sh auto_swapdir
+dist-vim-plugin-auto-undodir: \
+ vim/plugin/auto_undodir.vim \
+ vim/doc/auto_undodir.txt \
+ VERSION
+ sh dist/vim-plugin.sh auto_undodir
+dist-vim-plugin-big-file-options: \
+ vim/plugin/big_file_options.vim \
+ vim/doc/big_file_options.txt \
+ VERSION
+ sh dist/vim-plugin.sh big_file_options
+dist-vim-plugin-command-typos: \
+ vim/plugin/command_typos.vim \
+ vim/doc/command_typos.txt \
+ VERSION
+ sh dist/vim-plugin.sh command_typos
+dist-vim-plugin-copy-linebreak: \
+ vim/plugin/copy_linebreak.vim \
+ vim/doc/copy_linebreak.txt \
+ VERSION
+ sh dist/vim-plugin.sh copy_linebreak
+dist-vim-plugin-detect-background: \
+ vim/autoload/detect_background.vim \
+ vim/doc/detect_background.txt \
+ VERSION
+ sh dist/vim-plugin.sh detect_background
+dist-vim-plugin-fixed-join: \
+ vim/plugin/fixed_join.vim \
+ vim/doc/fixed_join.txt \
+ VERSION
+ sh dist/vim-plugin.sh fixed_join
+dist-vim-plugin-insert-suspend-hlsearch: \
+ vim/plugin/insert_suspend_hlsearch.vim \
+ vim/doc/insert_suspend_hlsearch.txt \
+ VERSION
+ sh dist/vim-plugin.sh insert_suspend_hlsearch
+dist-vim-plugin-mail-mutt: \
+ vim/plugin/mail_mutt.vim \
+ vim/doc/mail_mutt.txt \
+ VERSION
+ sh dist/vim-plugin.sh mail_mutt
+dist-vim-plugin-strip-trailing-whitespace: \
+ vim/plugin/strip_trailing_whitespace.vim \
+ vim/doc/strip_trailing_whitespace.txt \
+ VERSION
+ sh dist/vim-plugin.sh strip_trailing_whitespace
+dist-vim-plugin-toggle-option-flag: \
+ vim/plugin/toggle_option_flag.vim \
+ vim/doc/toggle_option_flag.txt \
+ VERSION
+ sh dist/vim-plugin.sh toggle_option_flag