Skip to content

Commit

Permalink
Merge branch 'jk/contrib-subtree-make-all'
Browse files Browse the repository at this point in the history
* jk/contrib-subtree-make-all:
  subtree: make "all" default target of Makefile
  • Loading branch information
Junio C Hamano committed Sep 11, 2014
2 parents 554913d + 960160b commit 49feda6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/subtree/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# The default target of this Makefile is...
all::

-include ../../config.mak.autogen
-include ../../config.mak

Expand Down Expand Up @@ -34,7 +37,7 @@ GIT_SUBTREE_XML := git-subtree.xml
GIT_SUBTREE_TXT := git-subtree.txt
GIT_SUBTREE_HTML := git-subtree.html

all: $(GIT_SUBTREE)
all:: $(GIT_SUBTREE)

$(GIT_SUBTREE): $(GIT_SUBTREE_SH)
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' $< >$@
Expand Down

0 comments on commit 49feda6

Please sign in to comment.