aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile26
-rw-r--r--README.markdown12
2 files changed, 5 insertions, 33 deletions
diff --git a/Makefile b/Makefile
index 8e927dcf..e4ffc421 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,6 @@ all : gnupg vim
clean :
rm -f gnupg/gpg.conf
- git submodule deinit --force .
distclean : clean
@@ -52,31 +51,6 @@ gnupg : gnupg/gpg.conf
gnupg/gpg.conf :
m4 -D DOTFILES_HOME="$(HOME)" gnupg/gpg.conf.m4 > gnupg/gpg.conf
-vim : vim-plugins
-
-VIM_PLUGINS = vim/bundle/abolish/.git \
- vim/bundle/argumentative/.git \
- vim/bundle/commentary/.git \
- vim/bundle/ctrlp/.git \
- vim/bundle/exchange/.git \
- vim/bundle/html5/.git \
- vim/bundle/lion/.git \
- vim/bundle/nagios/.git \
- vim/bundle/pathogen/.git \
- vim/bundle/repeat/.git \
- vim/bundle/sahara/.git \
- vim/bundle/surround/.git \
- vim/bundle/tmux/.git \
- vim/bundle/twig/.git \
- vim/bundle/undotree/.git \
- vim/bundle/unimpaired/.git \
- vim/bundle/vimperator/.git
-
-vim-plugins : $(VIM_PLUGINS)
-
-$(VIM_PLUGINS) :
- git submodule update --init "$(@D)"
-
install : install-bash \
install-curl \
install-dircolors \
diff --git a/README.markdown b/README.markdown
index f799c9bc..4dd4c918 100644
--- a/README.markdown
+++ b/README.markdown
@@ -61,7 +61,8 @@ Installation
```bash
$ git clone git://github.com/tejr/dotfiles.git ~/.dotfiles
-$ cd .dotfiles
+$ cd ~/.dotfiles
+$ git submodule init
$ make
$ make -n install
$ make install
@@ -74,9 +75,9 @@ for the Vim installation to work; it’s required for the plugin setup.
The installation `Makefile` will overwrite things standing in the way of its
installed files without backing them up, so read the output of `make -n
-install` first to make sure you aren’t going to lose anything unexpected. Even
-better, if you’re still not sure, give it a temporary directory to which it can
-install to check things out:
+install` before running `make install` to make sure you aren’t going to lose
+anything unexpected. If you’re still not sure, install it in a temporary
+directory so you can explore:
$ mktemp -d
/tmp/tmp.YZFW8ScFZP
@@ -286,9 +287,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.
-* The `Makefile` doesn’t catch required `git submodule update` runs in its
- default target; it would be really nice if it did, as I’d like to abstract
- all the submodule mess behind it if I can.
License
-------