Skip to content

Commit

Permalink
2 Functions for cloning out repo
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Apr 4, 2010
1 parent 7bdf9f9 commit ca0f99d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions template/Makefile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ fetch_github = \
fetch_local = @cp -v $(1) $(2) \
; @echo $(2) >> .bundlefiles

# 1: NAME , 2: URI
dep_from_git = \
D=/tmp/$(1)-$$RANDOM ; git clone $(2) $$D ; cd $$D ; make install ;

dep_from_svn = \
D=/tmp/$(1)-$$RANDOM ; svn checkout $(2) $$D ; cd $$D ; make install ;

# }}}
# }}}
# ======= DEFAULT CONFIG ======= {{{
Expand Down

0 comments on commit ca0f99d

Please sign in to comment.