Skip to content

Commit

Permalink
Add config rule
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Mar 21, 2010
1 parent 13092c0 commit e4ded19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,14 @@ CUSTOMIZE
To customize makefile config , you can simply create a `config.mk` file , which
is optional , for example:

$ make config

This will generate `config.mk`, now you can edit the file:

NAME=hypergit.vim
VIMRUNTIME=~/.vim
VERSION=0.2


FUNCTIONS
=========

Expand Down
3 changes: 1 addition & 2 deletions template/Makefile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ check-require:
@if [[ -n `which vim` ]] ; then echo "vim: OK" ; else echo "vim: NOT OK" ; fi



init-config:
config:
@rm -f $(CONFIG_FILE)
@echo "NAME=" >> $(CONFIG_FILE)
@echo "VERSION=" >> $(CONFIG_FILE)
Expand Down

0 comments on commit e4ded19

Please sign in to comment.