diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-25 17:35:08 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-25 17:35:08 +1300 |
commit | d2d6f8c2fde47cf828f57a4a9628451bf28dda72 (patch) | |
tree | a88c7482aaf930a77e128c57f2b64545fa7c2c32 | |
parent | Missed a phony build target (diff) | |
download | dotfiles-d2d6f8c2fde47cf828f57a4a9628451bf28dda72.tar.gz dotfiles-d2d6f8c2fde47cf828f57a4a9628451bf28dda72.zip |
Improved syntax for the Vim plugin targets
-rw-r--r-- | Makefile | 38 | ||||
-rw-r--r-- | README.markdown | 5 |
2 files changed, 4 insertions, 39 deletions
@@ -54,7 +54,7 @@ gnupg/gpg.conf : vim : vim-plugins -vim-plugins : vim/bundle/abolish/.git \ +VIM_PLUGINS = vim/bundle/abolish/.git \ vim/bundle/argumentative/.git \ vim/bundle/commentary/.git \ vim/bundle/ctrlp/.git \ @@ -72,39 +72,9 @@ vim-plugins : vim/bundle/abolish/.git \ vim/bundle/unimpaired/.git \ vim/bundle/vimperator/.git -vim/bundle/abolish/.git : - git submodule update --init "$(@D)" -vim/bundle/argumentative/.git : - git submodule update --init "$(@D)" -vim/bundle/commentary/.git : - git submodule update --init "$(@D)" -vim/bundle/ctrlp/.git : - git submodule update --init "$(@D)" -vim/bundle/exchange/.git : - git submodule update --init "$(@D)" -vim/bundle/html5/.git : - git submodule update --init "$(@D)" -vim/bundle/lion/.git : - git submodule update --init "$(@D)" -vim/bundle/nagios/.git : - git submodule update --init "$(@D)" -vim/bundle/pathogen/.git : - git submodule update --init "$(@D)" -vim/bundle/repeat/.git : - git submodule update --init "$(@D)" -vim/bundle/sahara/.git : - git submodule update --init "$(@D)" -vim/bundle/surround/.git : - git submodule update --init "$(@D)" -vim/bundle/tmux/.git : - git submodule update --init "$(@D)" -vim/bundle/twig/.git : - git submodule update --init "$(@D)" -vim/bundle/undotree/.git : - git submodule update --init "$(@D)" -vim/bundle/unimpaired/.git : - git submodule update --init "$(@D)" -vim/bundle/vimperator/.git : +vim-plugins : $(VIM_PLUGINS) + +$(VIM_PLUGINS) : git submodule update --init "$(@D)" install : install-bash \ diff --git a/README.markdown b/README.markdown index 46f2428d..301ca761 100644 --- a/README.markdown +++ b/README.markdown @@ -280,11 +280,6 @@ I’d welcome patches or advice on fixing any of these problems. * The `install-terminfo` target does not work correctly on NetBSD due to the different way `tic(1)` works, which I don’t understand at all. -* Parts of the `Makefile` are inelegant. For example, I'd love to have a - target pattern for checking out the Git submodules used for the Vim plugins - that's POSIX compliant or at least works on all the major open-source - UNIXes. `%` doesn't seem to match pathnames for BSD `make(1)`, only - filenames. License ------- |